{"action":"created","issue":{"url":"https://api.github.com/repos/learning-unlimited/ESP-Website/issues/1633","labels_url":"https://api.github.com/repos/learning-unlimited/ESP-Website/issues/1633/labels{/name}","comments_url":"https://api.github.com/repos/learning-unlimited/ESP-Website/issues/1633/comments","events_url":"https://api.github.com/repos/learning-unlimited/ESP-Website/issues/1633/events","html_url":"https://github.com/learning-unlimited/ESP-Website/pull/1633","id":62851978,"number":1633,"title":"Disable resource type cascading deletes","user":{"login":"jmoldow","id":1150978,"avatar_url":"https://avatars.githubusercontent.com/u/1150978?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoldow","html_url":"https://github.com/jmoldow","followers_url":"https://api.github.com/users/jmoldow/followers","following_url":"https://api.github.com/users/jmoldow/following{/other_user}","gists_url":"https://api.github.com/users/jmoldow/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoldow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoldow/subscriptions","organizations_url":"https://api.github.com/users/jmoldow/orgs","repos_url":"https://api.github.com/users/jmoldow/repos","events_url":"https://api.github.com/users/jmoldow/events{/privacy}","received_events_url":"https://api.github.com/users/jmoldow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T02:32:57Z","updated_at":"2015-03-24T21:16:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/learning-unlimited/ESP-Website/pulls/1633","html_url":"https://github.com/learning-unlimited/ESP-Website/pull/1633","diff_url":"https://github.com/learning-unlimited/ESP-Website/pull/1633.diff","patch_url":"https://github.com/learning-unlimited/ESP-Website/pull/1633.patch"},"body":"This will prevent an issue that recently occurred at Stanford, where the ``ResourceType``s were accidentally deleted, taking all of the teacher ``ResourceRequests`` with it.\r\n"},"comment":{"url":"https://api.github.com/repos/learning-unlimited/ESP-Website/issues/comments/85694185","html_url":"https://github.com/learning-unlimited/ESP-Website/pull/1633#issuecomment-85694185","issue_url":"https://api.github.com/repos/learning-unlimited/ESP-Website/issues/1633","id":85694185,"user":{"login":"benjaminjkraft","id":111238,"avatar_url":"https://avatars.githubusercontent.com/u/111238?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminjkraft","html_url":"https://github.com/benjaminjkraft","followers_url":"https://api.github.com/users/benjaminjkraft/followers","following_url":"https://api.github.com/users/benjaminjkraft/following{/other_user}","gists_url":"https://api.github.com/users/benjaminjkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminjkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminjkraft/subscriptions","organizations_url":"https://api.github.com/users/benjaminjkraft/orgs","repos_url":"https://api.github.com/users/benjaminjkraft/repos","events_url":"https://api.github.com/users/benjaminjkraft/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminjkraft/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T21:16:28Z","updated_at":"2015-03-24T21:16:28Z","body":"Cool, LGTM.  You may want to document this somewhere as well, so that people don't (deliberately) try to delete a ResourceType and then get confused why it doesn't work.  Eventually we probably want any non-admin-panel interface where one might try to do so to give a reasonable error message."}}