{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/6928","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/6928/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/6928/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/6928/events","html_url":"https://github.com/dimagi/commcare-hq/pull/6928","id":84051470,"number":6928,"title":"Warn web users that user-as-a-case will not work in CloudCare","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"},{"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/Open%20for%20review:%20hold%20off%20on%20merge","name":"Open for review: hold off on merge","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T14:37:05Z","updated_at":"2015-06-02T17:13:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/6928","html_url":"https://github.com/dimagi/commcare-hq/pull/6928","diff_url":"https://github.com/dimagi/commcare-hq/pull/6928.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/6928.patch"},"body":"I thought of adding an\r\n\r\n    elif couch_user.doc_type == 'WebUser':\r\n\r\nto [app_manager/util.py][1], but the clause turns out to be quite long for an edge case, and it felt stupid. So I opted just to include \"user-as-a-case\" in the warning for web users.\r\n\r\n@snopoke, do you reckon this is a reasonable compromise?\r\n\r\ncc @dannyroberts \r\n\r\n\r\n  [1]: https://github.com/dimagi/commcare-hq/blob/master/corehq/apps/app_manager/util.py#L443\r\n"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/108020919","html_url":"https://github.com/dimagi/commcare-hq/pull/6928#issuecomment-108020919","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/6928","id":108020919,"user":{"login":"dannyroberts","id":137212,"avatar_url":"https://avatars.githubusercontent.com/u/137212?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyroberts","html_url":"https://github.com/dannyroberts","followers_url":"https://api.github.com/users/dannyroberts/followers","following_url":"https://api.github.com/users/dannyroberts/following{/other_user}","gists_url":"https://api.github.com/users/dannyroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroberts/subscriptions","organizations_url":"https://api.github.com/users/dannyroberts/orgs","repos_url":"https://api.github.com/users/dannyroberts/repos","events_url":"https://api.github.com/users/dannyroberts/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroberts/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T17:13:13Z","updated_at":"2015-06-02T17:13:13Z","body":"Looks good to me, will let @snopoke comment"}}