{"action":"created","issue":{"url":"https://api.github.com/repos/Zizaco/entrust/issues/4","labels_url":"https://api.github.com/repos/Zizaco/entrust/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Zizaco/entrust/issues/4/comments","events_url":"https://api.github.com/repos/Zizaco/entrust/issues/4/events","html_url":"https://github.com/Zizaco/entrust/issues/4","id":12233142,"number":4,"title":"Polymorphic permissions","user":{"login":"atrauzzi","id":115199,"avatar_url":"https://avatars.githubusercontent.com/u/115199?v=3","gravatar_id":"","url":"https://api.github.com/users/atrauzzi","html_url":"https://github.com/atrauzzi","followers_url":"https://api.github.com/users/atrauzzi/followers","following_url":"https://api.github.com/users/atrauzzi/following{/other_user}","gists_url":"https://api.github.com/users/atrauzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/atrauzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrauzzi/subscriptions","organizations_url":"https://api.github.com/users/atrauzzi/orgs","repos_url":"https://api.github.com/users/atrauzzi/repos","events_url":"https://api.github.com/users/atrauzzi/events{/privacy}","received_events_url":"https://api.github.com/users/atrauzzi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Zizaco/entrust/labels/Proposal","name":"Proposal","color":"92D195"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2013-03-20T15:42:11Z","updated_at":"2015-02-08T01:43:11Z","closed_at":null,"body":"Might be nice to be able to have permissions specified against multiple types of data.\r\n\r\nEither by class (id column is null), or instance (id column is not null).\r\n\r\nAlso global permissions are possible by having both class and id as null.\r\n\r\nSee this rails package for an idea as to how useful it can be: http://eppo.github.com/rolify/"},"comment":{"url":"https://api.github.com/repos/Zizaco/entrust/issues/comments/73392585","html_url":"https://github.com/Zizaco/entrust/issues/4#issuecomment-73392585","issue_url":"https://api.github.com/repos/Zizaco/entrust/issues/4","id":73392585,"user":{"login":"deardooley","id":785202,"avatar_url":"https://avatars.githubusercontent.com/u/785202?v=3","gravatar_id":"","url":"https://api.github.com/users/deardooley","html_url":"https://github.com/deardooley","followers_url":"https://api.github.com/users/deardooley/followers","following_url":"https://api.github.com/users/deardooley/following{/other_user}","gists_url":"https://api.github.com/users/deardooley/gists{/gist_id}","starred_url":"https://api.github.com/users/deardooley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deardooley/subscriptions","organizations_url":"https://api.github.com/users/deardooley/orgs","repos_url":"https://api.github.com/users/deardooley/repos","events_url":"https://api.github.com/users/deardooley/events{/privacy}","received_events_url":"https://api.github.com/users/deardooley/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T01:43:11Z","updated_at":"2015-02-08T01:43:11Z","body":"+1"}}