amnah / yii2-user

Yii2 user authentication module
MIT License
253 stars 104 forks source link

RBAC component of the module #109

Closed xiandalisay closed 8 years ago

xiandalisay commented 9 years ago

It seems that the module is not extensible to the yii2 rbac migration. Wouldn't it be better if the roles are compliant to the migration since the children and rules can be configured on these tables?

amnah commented 9 years ago

I'm not sure what you mean? They're separate but can still work together, as the table names are different. Just follow the guide to set it up and use it:

http://www.yiiframework.com/doc-2.0/guide-security-authorization.html#role-based-access-control-rbac