symfony - Symfony2 - Users, Bundles and Controllers -
Hello all I am very new in Symphony and I am still searching for the full potential of this framework. My question is, if it is possible on Symphony 2, then crossing users' permissions between bundles and controllers, i.e. a certain user / group of users has to reach the respective controllers of several bundles and / or bundles. Thanks for the time spent on this :)
OK, kind of you can create URL restrictions and It is possible to restrict access to your controllers and URLs based on the installation. The examples below, restrict access to any URL that begins with moderation for the people of the role of the moderator.
- {path: ^ / moderation /, roles: ROLE_MODERATOR}
See the documentation for details:
Comments
Post a Comment