{"action":"closed","issue":{"url":"https://api.github.com/repos/bendelonlee/little_shop/issues/2","repository_url":"https://api.github.com/repos/bendelonlee/little_shop","labels_url":"https://api.github.com/repos/bendelonlee/little_shop/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/bendelonlee/little_shop/issues/2/comments","events_url":"https://api.github.com/repos/bendelonlee/little_shop/issues/2/events","html_url":"https://github.com/bendelonlee/little_shop/issues/2","id":391180988,"node_id":"MDU6SXNzdWUzOTExODA5ODg=","number":2,"title":"User Story 63, Admin disables a user account","user":{"login":"iandouglas","id":168030,"node_id":"MDQ6VXNlcjE2ODAzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/168030?v=4","gravatar_id":"","url":"https://api.github.com/users/iandouglas","html_url":"https://github.com/iandouglas","followers_url":"https://api.github.com/users/iandouglas/followers","following_url":"https://api.github.com/users/iandouglas/following{/other_user}","gists_url":"https://api.github.com/users/iandouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/iandouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iandouglas/subscriptions","organizations_url":"https://api.github.com/users/iandouglas/orgs","repos_url":"https://api.github.com/users/iandouglas/repos","events_url":"https://api.github.com/users/iandouglas/events{/privacy}","received_events_url":"https://api.github.com/users/iandouglas/received_events","type":"User","site_admin":false},"labels":[{"id":1162675034,"node_id":"MDU6TGFiZWwxMTYyNjc1MDM0","url":"https://api.github.com/repos/bendelonlee/little_shop/labels/review","name":"review","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-14T16:33:27Z","updated_at":"2018-12-20T18:41:36Z","closed_at":"2018-12-20T18:41:36Z","author_association":"COLLABORATOR","body":"```\nAs an admin user\nWhen I visit the user index page\nAnd I click on a \"disable\" button for an enabled user\nI am returned to the admin's user index page\nAnd I see a flash message that the user's account is now disabled\nAnd I see that the user's account is now disabled\nThis user cannot log in\n```\n\n### Checklist:\n\n- [ ] base code tests are written\n- [ ] base code is written to pass tests\n- [ ] edge case (\"sad path\") tests written (if required)\n- [ ] edge case code written (if required)\n- [ ] code is reviewed\n- [ ] branch is merged\n- [ ] all tests still pass\n\n\nchild of #4\n\ndepends on #3"}}
{"actor":{"display_login":"bendelonlee"}}