{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/3603","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/3603/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3603/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/3603/events","html_url":"https://github.com/Sylius/Sylius/pull/3603","id":118108369,"number":3603,"title":"[RBAC][PoC] Use symfony security authorization_checker and voter ","user":{"login":"cdaguerre","id":4642448,"avatar_url":"https://avatars.githubusercontent.com/u/4642448?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaguerre","html_url":"https://github.com/cdaguerre","followers_url":"https://api.github.com/users/cdaguerre/followers","following_url":"https://api.github.com/users/cdaguerre/following{/other_user}","gists_url":"https://api.github.com/users/cdaguerre/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaguerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaguerre/subscriptions","organizations_url":"https://api.github.com/users/cdaguerre/orgs","repos_url":"https://api.github.com/users/cdaguerre/repos","events_url":"https://api.github.com/users/cdaguerre/events{/privacy}","received_events_url":"https://api.github.com/users/cdaguerre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/Enhancement","name":"Enhancement","color":"02d7e1"},{"url":"https://api.github.com/repos/Sylius/Sylius/labels/RFC","name":"RFC","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-20T19:21:34Z","updated_at":"2015-11-20T23:51:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/3603","html_url":"https://github.com/Sylius/Sylius/pull/3603","diff_url":"https://github.com/Sylius/Sylius/pull/3603.diff","patch_url":"https://github.com/Sylius/Sylius/pull/3603.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed tickets | #2574\r\n| License       | MIT\r\n| Doc PR        | \r\n\r\nAlternative to #2574.\r\n\r\n- [x] Remove `sylius.authorization_checker` in favor of Symfony's `security.authorization_checker`\r\n- [x] Remove redundant Twig extension\r\n- [x] Implement `security.voter` enabling checks on specific permissions, optionally for a provided a resource \r\n- [x] Update `ResourceController`'s 403 method and calls\r\n- [ ] Complete specs\r\n\r\nFeedback much appreciated ;)"},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/158561550","html_url":"https://github.com/Sylius/Sylius/pull/3603#issuecomment-158561550","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/3603","id":158561550,"user":{"login":"isometriks","id":1325995,"avatar_url":"https://avatars.githubusercontent.com/u/1325995?v=3","gravatar_id":"","url":"https://api.github.com/users/isometriks","html_url":"https://github.com/isometriks","followers_url":"https://api.github.com/users/isometriks/followers","following_url":"https://api.github.com/users/isometriks/following{/other_user}","gists_url":"https://api.github.com/users/isometriks/gists{/gist_id}","starred_url":"https://api.github.com/users/isometriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isometriks/subscriptions","organizations_url":"https://api.github.com/users/isometriks/orgs","repos_url":"https://api.github.com/users/isometriks/repos","events_url":"https://api.github.com/users/isometriks/events{/privacy}","received_events_url":"https://api.github.com/users/isometriks/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T23:51:12Z","updated_at":"2015-11-20T23:51:12Z","body":"This would be great to have for projects that don't use RBAC so the default symfony authorization works properly :+1: "}}