On Sat, Jan 12, 2013 at 11:40 PM, Jamie <jamie....@gmail.com> wrote:
> How does that help? Well, you asked how to access ACL information inside
> your plugin.

I think what Jeremy was getting at was that you suggested creating
another helper, which doesn't make sense.

I agree that the permissions should be checked by the controller, and
the perms/routes passed to the view/helper. But I think this might be
complicated by the fact that this nav helper appears to get its routes
from a config file. I don't think that's a good approach, this ACL
question being a good example of why not.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to