Hi,
I today found the tutorial on RBAC using Yii. Great tutorial, looks like the thing I need for my application.
I now have a question: I have a hierarchical structure of districts (using a nested set). Now I want to use the RBAC scheme, but I dont want to give these roles to a user generally, but instead coupled with the districts.
For example, I want to give User1 the Roles Role1 and Role2 for District1 and all its sub-districts. Or User2 the Role Role3 for District2 (but not its sub-districts).
Later I would like to check whether the current user has a specific role for a given district. Is that possible with Yiis RBAC System?
Best regards
Daniel