{"action":"closed","issue":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lightbright/issues/14","repository_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lightbright","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lightbright/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lightbright/issues/14/comments","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lightbright/issues/14/events","html_url":"https://github.com/AppFolioOnboarding/image-sharer-lightbright/issues/14","id":160290387,"number":14,"title":"Authorization","user":{"login":"AppFolioRopes","id":17462904,"avatar_url":"https://avatars.githubusercontent.com/u/17462904?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioRopes","html_url":"https://github.com/AppFolioRopes","followers_url":"https://api.github.com/users/AppFolioRopes/followers","following_url":"https://api.github.com/users/AppFolioRopes/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioRopes/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioRopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioRopes/subscriptions","organizations_url":"https://api.github.com/users/AppFolioRopes/orgs","repos_url":"https://api.github.com/users/AppFolioRopes/repos","events_url":"https://api.github.com/users/AppFolioRopes/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioRopes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-lightbright/labels/unstarted","name":"unstarted","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"jyoder","id":1054998,"avatar_url":"https://avatars.githubusercontent.com/u/1054998?v=3","gravatar_id":"","url":"https://api.github.com/users/jyoder","html_url":"https://github.com/jyoder","followers_url":"https://api.github.com/users/jyoder/followers","following_url":"https://api.github.com/users/jyoder/following{/other_user}","gists_url":"https://api.github.com/users/jyoder/gists{/gist_id}","starred_url":"https://api.github.com/users/jyoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyoder/subscriptions","organizations_url":"https://api.github.com/users/jyoder/orgs","repos_url":"https://api.github.com/users/jyoder/repos","events_url":"https://api.github.com/users/jyoder/events{/privacy}","received_events_url":"https://api.github.com/users/jyoder/received_events","type":"User","site_admin":false},"assignees":[{"login":"jyoder","id":1054998,"avatar_url":"https://avatars.githubusercontent.com/u/1054998?v=3","gravatar_id":"","url":"https://api.github.com/users/jyoder","html_url":"https://github.com/jyoder","followers_url":"https://api.github.com/users/jyoder/followers","following_url":"https://api.github.com/users/jyoder/following{/other_user}","gists_url":"https://api.github.com/users/jyoder/gists{/gist_id}","starred_url":"https://api.github.com/users/jyoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyoder/subscriptions","organizations_url":"https://api.github.com/users/jyoder/orgs","repos_url":"https://api.github.com/users/jyoder/repos","events_url":"https://api.github.com/users/jyoder/events{/privacy}","received_events_url":"https://api.github.com/users/jyoder/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-06-14T21:39:09Z","updated_at":"2016-07-25T21:09:20Z","closed_at":"2016-07-25T21:09:20Z","body":"#### As an application hoster I want to restrict some functionality to specific users.\n\n- [ ] Logged out users are restricted to read-only access.\n- [ ] Links to non-read actions are not shown to logged out users.\n- [ ] Attempting to access a page that requires authentication redirects you to\n  the login page.\n- [ ] Upon successful login, you are redirected back to where you had tried to\n  navigate.\n- [ ] Every image is associated with the user that added it.\n- [ ] Only the user that added an image can delete that image.\n\nDiscussion topics:\n- [ ] If we wanted to add a lot of authorization rules, how might we want to\n  organize our code to keep it maintainable?\n\nFurther reading:\n- https://github.com/elabs/pundit\n\nDependencies:\n- Authentication\n"}}
{"actor":{"display_login":"lightbright"}}