Martijn Korse wrote:
> 
> I have a problem of which i'm trying to determine whether this is because
> i don't understand the ACL mechanism or because it is a bug.

I decided to treat it like a bug and trace what is happening and then found
it's not a bug at all, but in the end me misunderstanding the mechanism :-D

I think i had a different mindset when i was reading the documentation,
because i thought the assertion would influence the rule. It turns out the
assertion only decides whether a rule applies or not. So, in my example, the
red False, should be a True and the second allow rule should be a deny and
then it works as intended. Now that i read the documentation again, i see it
clearly says so :-)



-----
http://devshed.excudo.net http://devshed.excudo.net 
-- 
View this message in context: 
http://www.nabble.com/Zend_Acl-problem-with-Role-inheritance-and-Assertions-tp18570190p18611539.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to