{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8581","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8581/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8581/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8581/events","html_url":"https://github.com/dimagi/commcare-hq/pull/8581","id":110783137,"number":8581,"title":"Graceful downgrade of user case","user":{"login":"kaapstorm","id":708421,"avatar_url":"https://avatars.githubusercontent.com/u/708421?v=3","gravatar_id":"","url":"https://api.github.com/users/kaapstorm","html_url":"https://github.com/kaapstorm","followers_url":"https://api.github.com/users/kaapstorm/followers","following_url":"https://api.github.com/users/kaapstorm/following{/other_user}","gists_url":"https://api.github.com/users/kaapstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/kaapstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaapstorm/subscriptions","organizations_url":"https://api.github.com/users/kaapstorm/orgs","repos_url":"https://api.github.com/users/kaapstorm/repos","events_url":"https://api.github.com/users/kaapstorm/events{/privacy}","received_events_url":"https://api.github.com/users/kaapstorm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/No%20lint%20errors","name":"No lint errors","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-10T09:12:54Z","updated_at":"2015-11-10T13:22:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/8581","html_url":"https://github.com/dimagi/commcare-hq/pull/8581","diff_url":"https://github.com/dimagi/commcare-hq/pull/8581.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/8581.patch"},"body":"If user case is in use when a domain's pricing plan is downgraded, then show the user case management, but don't allow it to be edited or saved.\r\n\r\n(For any more context, please chat to @amsagoff or Kevin. (I can't find your GitHub username Kevin. You out there?))\r\n\r\n@NoahCarnahan, @snopoke \r\n"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/155417508","html_url":"https://github.com/dimagi/commcare-hq/pull/8581#issuecomment-155417508","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/8581","id":155417508,"user":{"login":"millerdev","id":464726,"avatar_url":"https://avatars.githubusercontent.com/u/464726?v=3","gravatar_id":"","url":"https://api.github.com/users/millerdev","html_url":"https://github.com/millerdev","followers_url":"https://api.github.com/users/millerdev/followers","following_url":"https://api.github.com/users/millerdev/following{/other_user}","gists_url":"https://api.github.com/users/millerdev/gists{/gist_id}","starred_url":"https://api.github.com/users/millerdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millerdev/subscriptions","organizations_url":"https://api.github.com/users/millerdev/orgs","repos_url":"https://api.github.com/users/millerdev/repos","events_url":"https://api.github.com/users/millerdev/events{/privacy}","received_events_url":"https://api.github.com/users/millerdev/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T13:22:00Z","updated_at":"2015-11-10T13:22:00Z","body":"It looks like this does not prevent form submissions that would reconfigure the user case. Instead it removes the controls from the client-side UI that make edits possible. So hypothetically someone could manually construct a POST request to update their user case even after their pricing plan had been downgraded. Does that seem correct? Do we care?"}}