payload: {"action":"created","issue":{"url":"https://api.github.com/repos/VNG-Realisatie/vng-api-common/issues/28","repository_url":"https://api.github.com/repos/VNG-Realisatie/vng-api-common","labels_url":"https://api.github.com/repos/VNG-Realisatie/vng-api-common/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/VNG-Realisatie/vng-api-common/issues/28/comments","events_url":"https://api.github.com/repos/VNG-Realisatie/vng-api-common/issues/28/events","html_url":"https://github.com/VNG-Realisatie/vng-api-common/issues/28","id":442709807,"node_id":"MDU6SXNzdWU0NDI3MDk4MDc=","number":28,"title":"Permissions should not rely on the action attribute on a View since it's only used in ViewSets.","user":{"login":"joeribekker","id":96970,"node_id":"MDQ6VXNlcjk2OTcw","avatar_url":"https://avatars1.githubusercontent.com/u/96970?v=4","gravatar_id":"","url":"https://api.github.com/users/joeribekker","html_url":"https://github.com/joeribekker","followers_url":"https://api.github.com/users/joeribekker/followers","following_url":"https://api.github.com/users/joeribekker/following{/other_user}","gists_url":"https://api.github.com/users/joeribekker/gists{/gist_id}","starred_url":"https://api.github.com/users/joeribekker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeribekker/subscriptions","organizations_url":"https://api.github.com/users/joeribekker/orgs","repos_url":"https://api.github.com/users/joeribekker/repos","events_url":"https://api.github.com/users/joeribekker/events{/privacy}","received_events_url":"https://api.github.com/users/joeribekker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-10T13:04:43Z","updated_at":"2019-05-13T08:24:58Z","closed_at":null,"author_association":"COLLABORATOR","body":"Basically the cause behind this comment:\r\n\r\nhttps://github.com/VNG-Realisatie/vng-api-common/pull/27#pullrequestreview-235634058\r\n\r\nThe `action` attribute should not be needed at all, since it's a `View` and not a `ViewSet` but our permission approach expects the `action` attribute at all times."},"comment":{"url":"https://api.github.com/repos/VNG-Realisatie/vng-api-common/issues/comments/491725034","html_url":"https://github.com/VNG-Realisatie/vng-api-common/issues/28#issuecomment-491725034","issue_url":"https://api.github.com/repos/VNG-Realisatie/vng-api-common/issues/28","id":491725034,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MTcyNTAzNA==","user":{"login":"sergei-maertens","id":5518550,"node_id":"MDQ6VXNlcjU1MTg1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5518550?v=4","gravatar_id":"","url":"https://api.github.com/users/sergei-maertens","html_url":"https://github.com/sergei-maertens","followers_url":"https://api.github.com/users/sergei-maertens/followers","following_url":"https://api.github.com/users/sergei-maertens/following{/other_user}","gists_url":"https://api.github.com/users/sergei-maertens/gists{/gist_id}","starred_url":"https://api.github.com/users/sergei-maertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergei-maertens/subscriptions","organizations_url":"https://api.github.com/users/sergei-maertens/orgs","repos_url":"https://api.github.com/users/sergei-maertens/repos","events_url":"https://api.github.com/users/sergei-maertens/events{/privacy}","received_events_url":"https://api.github.com/users/sergei-maertens/received_events","type":"User","site_admin":false},"created_at":"2019-05-13T08:24:58Z","updated_at":"2019-05-13T08:24:58Z","author_association":"COLLABORATOR","body":"In another project I had two maps - one is `action_map` and the other is `method_map`, if no action is available, then it looks at methods."}}
other: {"actor":{"display_login":"sergei-maertens"}}