{"action":"opened","issue":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/216","labels_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/216/comments","events_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/216/events","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/216","id":67361487,"number":216,"title":"Adding roles based permission management","user":{"login":"aruku","id":3179605,"avatar_url":"https://avatars.githubusercontent.com/u/3179605?v=3","gravatar_id":"","url":"https://api.github.com/users/aruku","html_url":"https://github.com/aruku","followers_url":"https://api.github.com/users/aruku/followers","following_url":"https://api.github.com/users/aruku/following{/other_user}","gists_url":"https://api.github.com/users/aruku/gists{/gist_id}","starred_url":"https://api.github.com/users/aruku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aruku/subscriptions","organizations_url":"https://api.github.com/users/aruku/orgs","repos_url":"https://api.github.com/users/aruku/repos","events_url":"https://api.github.com/users/aruku/events{/privacy}","received_events_url":"https://api.github.com/users/aruku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-09T13:24:53Z","updated_at":"2015-04-09T13:24:53Z","closed_at":null,"body":"I have been taking a look on issues and I didn't see anything exactly like this, so I thought it could be helpful to other people.\r\n\r\nI had to implement a simple access permission management on my project, and I did it just checking on the controller and the layout for a given role as a another option of the entity in config.yml.\r\nI don't have experience with the configuration component of Symfony, so I just took a look around, set the option and it worked.\r\n\r\nIf you think it could be an addition to the bundle, I'd be happy to do a pull request. Also, I would love to read about any improvements to it (maybe using events?), although it's a tiny change."}}