'isAllowed' and 'hasRole' be an array?
I am trying to assign a user to two different roles that are do not have
inherited permissions.
Role A has permissions for 1, 2, 3 and Role B has permissions to 2, 3, 4
If i assign a user to both roles, I want that person to have permission to
Role 1, 2, 3, 4
With the acl code I have, it checks isAllowed and hasRole in a place or two.
Instead of doing a check on the value in my code, i want to know if they
will accept arrays of roles?
Thanks.
--
View this message in context: http://www.nabble.com/Zend_ACL-%3EisAllowed%28%29---can-the-role-be-an-array-tp20370382p20370382.html
Sent from the Zend Auth mailing list archive at Nabble.com.
没有评论:
发表评论