{"action":"created","issue":{"url":"https://api.github.com/repos/modc08/modc08/issues/21","labels_url":"https://api.github.com/repos/modc08/modc08/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/modc08/modc08/issues/21/comments","events_url":"https://api.github.com/repos/modc08/modc08/issues/21/events","html_url":"https://github.com/modc08/modc08/issues/21","id":51936820,"number":21,"title":"Experiments and datasets should be immutable once DOI minted","user":{"login":"franksc","id":8837821,"avatar_url":"https://avatars.githubusercontent.com/u/8837821?v=3","gravatar_id":"","url":"https://api.github.com/users/franksc","html_url":"https://github.com/franksc","followers_url":"https://api.github.com/users/franksc/followers","following_url":"https://api.github.com/users/franksc/following{/other_user}","gists_url":"https://api.github.com/users/franksc/gists{/gist_id}","starred_url":"https://api.github.com/users/franksc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franksc/subscriptions","organizations_url":"https://api.github.com/users/franksc/orgs","repos_url":"https://api.github.com/users/franksc/repos","events_url":"https://api.github.com/users/franksc/events{/privacy}","received_events_url":"https://api.github.com/users/franksc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/modc08/modc08/labels/requirement","name":"requirement","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/modc08/modc08/milestones/1","labels_url":"https://api.github.com/repos/modc08/modc08/milestones/1/labels","id":889160,"number":1,"title":"Phase Two: backend DB stuff","description":"Encompassing extending MyTardis to accomodate metadata schema, DOIs, ingest to publish workflow...","creator":{"login":"millercathy","id":9669002,"avatar_url":"https://avatars.githubusercontent.com/u/9669002?v=3","gravatar_id":"","url":"https://api.github.com/users/millercathy","html_url":"https://github.com/millercathy","followers_url":"https://api.github.com/users/millercathy/followers","following_url":"https://api.github.com/users/millercathy/following{/other_user}","gists_url":"https://api.github.com/users/millercathy/gists{/gist_id}","starred_url":"https://api.github.com/users/millercathy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millercathy/subscriptions","organizations_url":"https://api.github.com/users/millercathy/orgs","repos_url":"https://api.github.com/users/millercathy/repos","events_url":"https://api.github.com/users/millercathy/events{/privacy}","received_events_url":"https://api.github.com/users/millercathy/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":6,"state":"open","created_at":"2014-12-02T23:46:30Z","updated_at":"2015-01-26T23:24:53Z","due_on":"2015-02-09T13:30:00Z","closed_at":null},"comments":3,"created_at":"2014-12-14T23:44:24Z","updated_at":"2015-01-27T00:38:30Z","closed_at":null,"body":"Once a DOI is minted for an experiment or dataset it needs to be immutable – included data files or datasets can't be added or removed, and metadata that informs citation (title/name, creators, publication year etc) can't be modified.\r\n\r\nThe MyTardis Experiment and Dataset models have Boolean fields 'locked' and 'immutable' respectively (not sure why the names aren't consistent). However, some quick testing suggests this field being set to 'true' does not prevent an experiment or dataset's metadata being changed, or the datasets included in an experiment being changed; it does prevent files being added or removed from a dataset.\r\n\r\nRequirements:\r\n- When a DOI is minted for an experiment or dataset, the appropriate Boolean should be changed to 'true'\r\n- When an experiment or dataset is set to immutable you can't add or remove included files or datasets, or modify metadata that informs citation"},"comment":{"url":"https://api.github.com/repos/modc08/modc08/issues/comments/71568845","html_url":"https://github.com/modc08/modc08/issues/21#issuecomment-71568845","issue_url":"https://api.github.com/repos/modc08/modc08/issues/21","id":71568845,"user":{"login":"franksc","id":8837821,"avatar_url":"https://avatars.githubusercontent.com/u/8837821?v=3","gravatar_id":"","url":"https://api.github.com/users/franksc","html_url":"https://github.com/franksc","followers_url":"https://api.github.com/users/franksc/followers","following_url":"https://api.github.com/users/franksc/following{/other_user}","gists_url":"https://api.github.com/users/franksc/gists{/gist_id}","starred_url":"https://api.github.com/users/franksc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franksc/subscriptions","organizations_url":"https://api.github.com/users/franksc/orgs","repos_url":"https://api.github.com/users/franksc/repos","events_url":"https://api.github.com/users/franksc/events{/privacy}","received_events_url":"https://api.github.com/users/franksc/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T00:38:30Z","updated_at":"2015-01-27T00:38:30Z","body":"Testing 27 Jan from vm-develop-doi-20150127-092720:\r\n\r\n- [x] when DOI minted, experiment is set to immutable/read-only\r\n- [ ] when experiment locked, can still drag/drop datasets via Transfer Datasets – __still needs fixing__"}}