06-26-2011, 05:49 PM
|
#2 (permalink)
|
|
The Visitor
Join Date: Jun 2011
Posts: 1
Thanks: 0
|
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.
Thank you!
---------
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.
|
|
|
|