{"action":"created","issue":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/95","labels_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/95/comments","events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/95/events","html_url":"https://github.com/montrealrb/Montreal.rb/pull/95","id":119863273,"number":95,"title":"Add Auth to Admin Area","user":{"login":"karimmtarek","id":5586031,"avatar_url":"https://avatars.githubusercontent.com/u/5586031?v=3","gravatar_id":"","url":"https://api.github.com/users/karimmtarek","html_url":"https://github.com/karimmtarek","followers_url":"https://api.github.com/users/karimmtarek/followers","following_url":"https://api.github.com/users/karimmtarek/following{/other_user}","gists_url":"https://api.github.com/users/karimmtarek/gists{/gist_id}","starred_url":"https://api.github.com/users/karimmtarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karimmtarek/subscriptions","organizations_url":"https://api.github.com/users/karimmtarek/orgs","repos_url":"https://api.github.com/users/karimmtarek/repos","events_url":"https://api.github.com/users/karimmtarek/events{/privacy}","received_events_url":"https://api.github.com/users/karimmtarek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T04:03:54Z","updated_at":"2015-12-02T14:15:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/95","html_url":"https://github.com/montrealrb/Montreal.rb/pull/95","diff_url":"https://github.com/montrealrb/Montreal.rb/pull/95.diff","patch_url":"https://github.com/montrealrb/Montreal.rb/pull/95.patch"},"body":"- Added a hack for admin user (to be fixed based on advice), for this one I wasn't sure how to handle:\r\n  * Should I add a new admin(boolean) column to the user table?\r\n  * Should I add a a new type(string) column to the user table?  \r\n- Redirect to admin area if user is admin\r\n- Added logic for admin authentication\r\n- Added a link to admin area if admin user is signed-in\r\n- Specs will be fixed and new ones will be added when I fix the admin user situation :) "},"comment":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/comments/161308964","html_url":"https://github.com/montrealrb/Montreal.rb/pull/95#issuecomment-161308964","issue_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/95","id":161308964,"user":{"login":"nicholasjhenry","id":40253,"avatar_url":"https://avatars.githubusercontent.com/u/40253?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholasjhenry","html_url":"https://github.com/nicholasjhenry","followers_url":"https://api.github.com/users/nicholasjhenry/followers","following_url":"https://api.github.com/users/nicholasjhenry/following{/other_user}","gists_url":"https://api.github.com/users/nicholasjhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholasjhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholasjhenry/subscriptions","organizations_url":"https://api.github.com/users/nicholasjhenry/orgs","repos_url":"https://api.github.com/users/nicholasjhenry/repos","events_url":"https://api.github.com/users/nicholasjhenry/events{/privacy}","received_events_url":"https://api.github.com/users/nicholasjhenry/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T14:15:18Z","updated_at":"2015-12-02T14:15:18Z","body":"This PR is related to #58 "}}