|
|||
|
So here is what I'm trying to accomplish. I'm making a cms for a gaming clan. Each game that the team plays is called a division. Each division has their own admin(s) and there is a global admin which can see/do everything. So basically, I wish to store the users in a database and define their access in that same table if at all possible.
Example scenario: Global admin ads a new games (game a & game b) and creates one user for each game (usera & userb). So when usera logs into the admin panel, they will be able to manage their team. Same goes for userb. But when the global admin logs in, they can do anything. I've read everything I could find on ACL but nothing seems to suit me needs. Could you please help? Thanks! |
|
|||
|
i use zend acl to manage permissions on the global scale. i then use a db based permissions system to get specific permissions.
so a staff member has priv to go to /content/edit the model then validates that this user has permissions to the content item they are requesting (by the content id), and either returns the data or sets the error that they are not authorized to edit that resource. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|