{"action":"closed","issue":{"url":"https://api.github.com/repos/avanzu/AdminThemeBundle/issues/170","repository_url":"https://api.github.com/repos/avanzu/AdminThemeBundle","labels_url":"https://api.github.com/repos/avanzu/AdminThemeBundle/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/avanzu/AdminThemeBundle/issues/170/comments","events_url":"https://api.github.com/repos/avanzu/AdminThemeBundle/issues/170/events","html_url":"https://github.com/avanzu/AdminThemeBundle/issues/170","id":243817883,"number":170,"title":"Different Sidebar Menu for different user role","user":{"login":"Hy3n4","id":445003,"avatar_url":"https://avatars1.githubusercontent.com/u/445003?v=4","gravatar_id":"","url":"https://api.github.com/users/Hy3n4","html_url":"https://github.com/Hy3n4","followers_url":"https://api.github.com/users/Hy3n4/followers","following_url":"https://api.github.com/users/Hy3n4/following{/other_user}","gists_url":"https://api.github.com/users/Hy3n4/gists{/gist_id}","starred_url":"https://api.github.com/users/Hy3n4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hy3n4/subscriptions","organizations_url":"https://api.github.com/users/Hy3n4/orgs","repos_url":"https://api.github.com/users/Hy3n4/repos","events_url":"https://api.github.com/users/Hy3n4/events{/privacy}","received_events_url":"https://api.github.com/users/Hy3n4/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-18T19:00:20Z","updated_at":"2017-07-19T21:48:59Z","closed_at":"2017-07-19T21:48:59Z","body":"Hi,\r\nis it possible to have different Sidebar menu for different user roles?\r\nLet's say I have Admin user with role SUPER_ADMIN_ROLE and I want to have extra items in sidebar menu just for SUPER_ADMIN_ROLE. But I don't want ADMIN_ROLE users to see those items.\r\n\r\nIs it possible? I tried to $this->getUser() in SidebarLestener to filter it by standard if() but it seems to not work this way. Please be advised I am not so much experienced Symfony developer. I am using trial and error style to achieve goals in my project :)\r\n\r\nAlso, this project seems to be a bit abandoned, isn't it?\r\n\r\nThanks everyone for any hint.\r\n\r\nPatrik"}}
{"actor":{"display_login":"Hy3n4"}}