I have 3 roles: ROLE_SUPER_ADMIN, ROLE_ADMIN and ROLE_USER. Both Super_Admins and Admins can view users but a user with ROLE_ADMIN shouldn't see a user with ROLE_SUPER_ADMIN. I've made a voter but I don't know where to use the annotation on a controller extending from AbstractCrudController.
Asked
Active
Viewed 209 times