yii2mod / yii2-rbac

RBAC Manager for Yii 2
MIT License
145 stars 58 forks source link

Filter access to controller actions of a module #40

Closed ilbassa closed 3 years ago

ilbassa commented 3 years ago

Hi, I have used the rbac module to manage access permission to backend section. Now I need to reeingineer the backoffice with two modules ('v1' and 'v2'). In the V1 module I have two controllers that need to be managed as separate access from different roles. In the route section of the module I find only '/v1/*' and not the two controllers. It is possible to manage access to a single controller inside a module?

Thank you

ilbassa commented 3 years ago

Sorry, the routes now are in the list. Maybe I had some misconfiguration on the namspace.