Hello All,

I was wondering of someone could clarify the following

Role Based Access Control specifies a many to many relationship between Roles 
and Users. (A User can have multiple roles and roles can be assigned to 
multiple users). Additionally roles themselves can be nested into a tree, so a 
User can inherit roles. (A anonymous-role is inherited by member-role, for 
example)  

Now, when using the navigation view helpers it is allowed to have an Zend_Acl 
instance to control which elements should be rendered. The documentation states 
that when you do use that you should also define the role the helper should use 
to compare control access. 
(Zend_View_Helper_Navigation_HelperAbstract::setAcl() and 
Zend_View_Helper_Navigation_HelperAbstract::setRole()) This all makes sense to 
me... However Zend_View_Helper_Navigation_HelperAbstract only allows for one 
role to be set. This I don't understand. If a User can have multiple roles, why 
wouldn't some navigational element be able to reflect these multiple roles?

I hope I make myself clear as this whole RBAC is quite complex. Perhaps I am 
simply mixing up some concepts. 

Thanks a mill



bushbaby multimedia ontwerp & uitvoering
[email protected] | +31(0)6 2897 7426

Reply via email to