Hello Teemu,

Have you already taken a look at the Simon Mundy's tutorial? I think you may find an answer to your question there. You'll find it under: http://www.zftutorials.com/zend-acl/

Cheers,
Ivan.

Teemu Välimäki schrieb:
Hi,

I'm not quite sure how I should use ACL with Views. I have a menu where I'd 
like items not to be visible if users role(s) have no access to it. So I was 
planning on doing array of the menu items and passing that to the view or 
passing the whole ACL object to view.

Views should not contain logic so I'd be very glad to see a short example or 
explanation how to do this, to prevent wrong implementation.

Virtual cookie for the one helping me out :)



--
Loglan GmbH
Ivan Ruiz Gallego

Binzmühlestrasse 210
8050 Zürich
Switzerland

Office +41 44 310 19 20
Mobile +41 76 321 23 68
Net www.loglan.net

Reply via email to