View Single Post
06-26-2011, 05:49 PM
Join Date: Jun 2011
Hehe. nice class. I was digging through interwebZ trying to solve exactly the same issue: find a smaller 80/20 replacement for Zend_Acl. Well - it seems like the one.
there seem to be an error in this class in isAllowed() method:
When you compare
if( count($this->roles[$roleName]) == 0 )
IMHO - it should return FALSE, it's however returns TRUE in that method.
View Public Profile
Send a private message to captainCrest
Find More Posts by captainCrest