{"action":"created","issue":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/16","labels_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/16/comments","events_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/16/events","html_url":"https://github.com/cerebris/jsonapi-resources/issues/16","id":41592362,"number":16,"title":"Authorization","user":{"login":"Samsinite","id":166847,"avatar_url":"https://avatars.githubusercontent.com/u/166847?v=3","gravatar_id":"","url":"https://api.github.com/users/Samsinite","html_url":"https://github.com/Samsinite","followers_url":"https://api.github.com/users/Samsinite/followers","following_url":"https://api.github.com/users/Samsinite/following{/other_user}","gists_url":"https://api.github.com/users/Samsinite/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsinite/subscriptions","organizations_url":"https://api.github.com/users/Samsinite/orgs","repos_url":"https://api.github.com/users/Samsinite/repos","events_url":"https://api.github.com/users/Samsinite/events{/privacy}","received_events_url":"https://api.github.com/users/Samsinite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2014-08-31T18:12:12Z","updated_at":"2015-06-09T13:04:19Z","closed_at":null,"body":"Hey guys,\r\n\r\nThis gem/library looks great! What about directly supporting an option to easily hook up authorization instead of requiring the resource controller index/show/create/update/destroy methods to be overridden?\r\n\r\nSomething like a simple interface that filters for index/read_list, returns true/false for show/create/update/destroy, and if in the future updating lists or destroying lists are supported, the interface could be updated to support filtering those as well. Than it would be straight forward for whoever to override it to support their preferred method of authorization, such as pundit or cancancan. I wouldn't mind implementing this if you guys are interested."},"comment":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/comments/110350957","html_url":"https://github.com/cerebris/jsonapi-resources/issues/16#issuecomment-110350957","issue_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/16","id":110350957,"user":{"login":"oliverbarnes","id":21290,"avatar_url":"https://avatars.githubusercontent.com/u/21290?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverbarnes","html_url":"https://github.com/oliverbarnes","followers_url":"https://api.github.com/users/oliverbarnes/followers","following_url":"https://api.github.com/users/oliverbarnes/following{/other_user}","gists_url":"https://api.github.com/users/oliverbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverbarnes/subscriptions","organizations_url":"https://api.github.com/users/oliverbarnes/orgs","repos_url":"https://api.github.com/users/oliverbarnes/repos","events_url":"https://api.github.com/users/oliverbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/oliverbarnes/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T13:04:19Z","updated_at":"2015-06-09T13:04:19Z","body":"The client would send it? Assuming the relationship with the owner is always present in the requests\n\nOn June 7, 2015 at 7:28:12 PM, Sean Devine (notifications@github.com) wrote:\n\nHow would you know?\n\n—\nReply to this email directly or view it on GitHub.\n\n"}}