{"action":"reopened","issue":{"url":"https://api.github.com/repos/ClinGen/clincoded/issues/494","labels_url":"https://api.github.com/repos/ClinGen/clincoded/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/ClinGen/clincoded/issues/494/comments","events_url":"https://api.github.com/repos/ClinGen/clincoded/issues/494/events","html_url":"https://github.com/ClinGen/clincoded/issues/494","id":121125949,"number":494,"title":"Expand delete functionality","user":{"login":"mrmin123","id":4326866,"avatar_url":"https://avatars.githubusercontent.com/u/4326866?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmin123","html_url":"https://github.com/mrmin123","followers_url":"https://api.github.com/users/mrmin123/followers","following_url":"https://api.github.com/users/mrmin123/following{/other_user}","gists_url":"https://api.github.com/users/mrmin123/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmin123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmin123/subscriptions","organizations_url":"https://api.github.com/users/mrmin123/orgs","repos_url":"https://api.github.com/users/mrmin123/repos","events_url":"https://api.github.com/users/mrmin123/events{/privacy}","received_events_url":"https://api.github.com/users/mrmin123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ClinGen/clincoded/labels/R3","name":"R3","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"mrmin123","id":4326866,"avatar_url":"https://avatars.githubusercontent.com/u/4326866?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmin123","html_url":"https://github.com/mrmin123","followers_url":"https://api.github.com/users/mrmin123/followers","following_url":"https://api.github.com/users/mrmin123/following{/other_user}","gists_url":"https://api.github.com/users/mrmin123/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmin123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmin123/subscriptions","organizations_url":"https://api.github.com/users/mrmin123/orgs","repos_url":"https://api.github.com/users/mrmin123/repos","events_url":"https://api.github.com/users/mrmin123/events{/privacy}","received_events_url":"https://api.github.com/users/mrmin123/received_events","type":"User","site_admin":false},"milestone":null,"comments":35,"created_at":"2015-12-08T23:35:46Z","updated_at":"2016-01-13T22:57:51Z","closed_at":null,"body":"After discussion and further testing, the need to expand the delete functionality has been determined:\r\n\r\n* Make all children of the deleted item also have a status of 'deleted' :white_check_mark: \r\n  * Involves disassociating all children from their parent to avoid audit errors :white_check_mark: \r\n  * History should track these child deletions, but not necessarily show them in the user's history (history tracking needs to be able to differentiate between history items to show in user's history or just track in the background) :white_check_mark: \r\n  * History item for deleting item with children should be different from that of deleting item with no children (for same type of item) :white_check_mark: \r\n  * Would make children of deleted items inaccessible to non-admins :white_check_mark: \r\n* Show the list of children items to be deleted in the delete confirmation modal :white_check_mark: \r\n* Make deleted items not show up in search for curators (currently deleted items are inaccessible, but show up in search results) :white_check_mark: "}}