ZendACL implemented |
[eluser]wr5aw[/eluser]
I've just implemented ZendAcl as a library that very elegantly handles fine-grained access control. I started with this - http://framework.zend.com/wiki/display/Z...se+backend then created a CI class that extends ZendAcl. The class autoloads and creates an acl based on the user (or Guest). Now, anywhere in the app, I can do this to control access: Code: if (!$this->acl->allowsUser('access to', 'something') It's getting late or I'd spin up something for the wiki. When I get a chance, I'll add something to the approaches section. Stay tuned.
[eluser]Unknown[/eluser]
Do you have any plans to post this library? I'd be very interested in seeing it.
|
Welcome Guest, Not a member yet? Register Sign In |