> If you pass your user (instanceof Acl_Role_Interface) and project
(instanceof Acl_Resource_Interface) to the ACL, you're able to check the
project's owner

Yes I am trying to implement that, but it seems counter intuitive

Yes, I can pass any instanceof Zend_Acl_Resource_Interface to
Zend_Acl_Assert_Interface#assert() but usually we (or at least me) don't
directly use the assert interface rather something like 

    $acl->isAllowed($user, $project, 'add');

But the above will conflict with assertion for adding a project rather than
list. 

I don't think I explain well but hope you get the idea. 
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Seeking-guidance-on-implementing-ACL-tp3160455p3160577.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to