문제

I'm using Symfony2 with sonataAdminBundle, sonataUserBundle and FOSUserBundle. I would like to create a new role e.g. ROLE_TEST. When I go to edit a user in the admin CRUD interface, I would like that role to appear in the 'roles' section so I can add it to the user.

Where do I define the role so it appears in that list?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top