Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-10-2007, 02:11 AM
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default How to use ACL with a gloabl admin and several divisions?

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-11-2007, 04:16 PM
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default

Surely someone knows how to do this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-07-2007, 09:29 PM
Junior Member
 
Join Date: May 2007
Posts: 25
Default split up the job

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:04 AM.