{"action":"created","issue":{"url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927","repository_url":"https://api.github.com/repos/Cadasta/cadasta-platform","labels_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927/labels{/name}","comments_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927/comments","events_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927/events","html_url":"https://github.com/Cadasta/cadasta-platform/issues/927","id":188717506,"number":927,"title":"As a superuser, activating a user fails","user":{"login":"oliverroick","id":159510,"avatar_url":"https://avatars.githubusercontent.com/u/159510?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverroick","html_url":"https://github.com/oliverroick","followers_url":"https://api.github.com/users/oliverroick/followers","following_url":"https://api.github.com/users/oliverroick/following{/other_user}","gists_url":"https://api.github.com/users/oliverroick/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverroick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverroick/subscriptions","organizations_url":"https://api.github.com/users/oliverroick/orgs","repos_url":"https://api.github.com/users/oliverroick/repos","events_url":"https://api.github.com/users/oliverroick/events{/privacy}","received_events_url":"https://api.github.com/users/oliverroick/received_events","type":"User","site_admin":false},"labels":[{"id":285360363,"url":"https://api.github.com/repos/Cadasta/cadasta-platform/labels/bug","name":"bug","color":"ff0000","default":true},{"id":319853178,"url":"https://api.github.com/repos/Cadasta/cadasta-platform/labels/medium%20priority","name":"medium priority","color":"eeee66","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-11T09:20:13Z","updated_at":"2016-11-15T09:17:50Z","closed_at":null,"body":"### Steps to reproduce the error\r\n\r\nOn the development VM, with fixtures loaded:\r\n\r\n1. Login as a superuser (either _iross_ or _oroick_)\r\n2. Go to the user view (it's the link in the menu)\r\n3. Active _testuser10_.\r\n4. Logout\r\n5. Login as _testuser10_\r\n\r\n### Actual behavior\r\n\r\nThe account of _testuser10_ is still inactive.\r\n\r\n### Expected behavior\r\n\r\nThe account of _testuser10_ is active. \r\n\r\n### The culprit \r\n\r\n`organization.views.default.UserActivation` sets the field `is_active` to the correct state; in the example above it is `True`. _testuser10_'s email verification period has expired; when they try to login, the account will be deactivated immediately. \r\n\r\nShould `organization.views.default.UserActivation` also set `email_verified` to `True` (i.e. manually confirming the email address) when activating the account?"},"comment":{"url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/comments/260588284","html_url":"https://github.com/Cadasta/cadasta-platform/issues/927#issuecomment-260588284","issue_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/927","id":260588284,"user":{"login":"wonderchook","id":67992,"avatar_url":"https://avatars.githubusercontent.com/u/67992?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderchook","html_url":"https://github.com/wonderchook","followers_url":"https://api.github.com/users/wonderchook/followers","following_url":"https://api.github.com/users/wonderchook/following{/other_user}","gists_url":"https://api.github.com/users/wonderchook/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderchook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderchook/subscriptions","organizations_url":"https://api.github.com/users/wonderchook/orgs","repos_url":"https://api.github.com/users/wonderchook/repos","events_url":"https://api.github.com/users/wonderchook/events{/privacy}","received_events_url":"https://api.github.com/users/wonderchook/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T09:17:50Z","updated_at":"2016-11-15T09:17:50Z","body":"Not sure that makes sense. We shouldn't be assuming people should be able to get emails. Long term I think the issue is we need to make an Architecture Design Proposal about how we deal with users without email addresses. "}}
{"actor":{"display_login":"wonderchook"}}