The "right" way, according to MVC, would be to define the menu in a 
controller and set a view var. You can check out the AclMenuComponent[1].

You can always check permissions in the view if you want to. Or, create a 
helper that checks them for you. Whatever works for your app.

1: http://mark-story.com/posts/view/acl-menu-component

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to