{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2604","repository_url":"https://api.github.com/repos/cfpb/cfgov-refresh","labels_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2604/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2604/comments","events_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2604/events","html_url":"https://github.com/cfpb/cfgov-refresh/pull/2604","id":195604487,"number":2604,"title":"Spike - Disable deletion in Wagtail UI","user":{"login":"richaagarwal","id":354591,"avatar_url":"https://avatars.githubusercontent.com/u/354591?v=3","gravatar_id":"","url":"https://api.github.com/users/richaagarwal","html_url":"https://github.com/richaagarwal","followers_url":"https://api.github.com/users/richaagarwal/followers","following_url":"https://api.github.com/users/richaagarwal/following{/other_user}","gists_url":"https://api.github.com/users/richaagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/richaagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richaagarwal/subscriptions","organizations_url":"https://api.github.com/users/richaagarwal/orgs","repos_url":"https://api.github.com/users/richaagarwal/repos","events_url":"https://api.github.com/users/richaagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/richaagarwal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-14T18:10:11Z","updated_at":"2016-12-16T14:43:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/2604","html_url":"https://github.com/cfpb/cfgov-refresh/pull/2604","diff_url":"https://github.com/cfpb/cfgov-refresh/pull/2604.diff","patch_url":"https://github.com/cfpb/cfgov-refresh/pull/2604.patch"},"body":"Per GHE 468, this is a MVP/proposal for dealing with deletions until we come up with a longer-term strategy with how we want to approach permissions & deletions, given Wagtail doesn't support configuring this at the moment. \r\n\r\n- I only disabled this in the UI; you can still trigger a delete by adding `/delete` to a page. I think this is fine for now since anyone who would do that would be very intentionally wanting to delete a page, but we can definitely still refine permissions. \r\n- *If* someone does delete a page, which I think we will still continue to do by request, I added a simple logging statement for this so that we know who did it. \r\n\r\nI'll update the `CHANGELOG` etc if people think we should move forward with this. "},"comment":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/comments/267608385","html_url":"https://github.com/cfpb/cfgov-refresh/pull/2604#issuecomment-267608385","issue_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2604","id":267608385,"user":{"login":"higs4281","id":515885,"avatar_url":"https://avatars.githubusercontent.com/u/515885?v=3","gravatar_id":"","url":"https://api.github.com/users/higs4281","html_url":"https://github.com/higs4281","followers_url":"https://api.github.com/users/higs4281/followers","following_url":"https://api.github.com/users/higs4281/following{/other_user}","gists_url":"https://api.github.com/users/higs4281/gists{/gist_id}","starred_url":"https://api.github.com/users/higs4281/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/higs4281/subscriptions","organizations_url":"https://api.github.com/users/higs4281/orgs","repos_url":"https://api.github.com/users/higs4281/repos","events_url":"https://api.github.com/users/higs4281/events{/privacy}","received_events_url":"https://api.github.com/users/higs4281/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T14:43:03Z","updated_at":"2016-12-16T14:43:03Z","body":"In the Django admin, we have more options. We can choose not to display tables or rows, and the fine-grained permissions (such as permission to delete from a specific table) are honored there."}}
{"actor":{"display_login":"higs4281"}}