I am writing an application that has three user groups: admin, user,
and photo manager. I want all three to have basically the same
interface, but admins will obviously have more things available to
them (ability to add things, edit things, etc), photo managers will be
allowed to add / edit photos, and all users will be able to view just
about anything in the system. I'm just wondering what the best way to
go about displaying the menu to my uses is. Should I run a
beforeFilter in my AppController that grabs all the user's permissions
and stores them in the session? Then I could check the session to know
what parts of the menu to display. Is this a good idea? If not, why?
What would you do?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---