I have been reading more into ACL in the Cookbook and have been making changes to the application I have been working on. I see in the cookbook: Fellowship of the Ring (Deny: all)
* Warriors (Allow: Weapons, Ale, Elven Rations, Salted Pork) * Aragorn (Allow: Diplomacy) * Legolas * Gimli * Wizards (Allow: Salted Pork, Diplomacy, Ale) * Gandalf * Hobbits (Allow: Ale) * Frodo (Allow: Ring) * Bilbo * Merry (Deny: Ale) * Pippin (Allow: Diplomacy) * Visitors (Allow: Salted Pork) * Gollum I was wondering how to go about changing what a user is allowed. Easiest example in terms of writing it out would be something like "you can go to the theatre to watch a movie but unless you pay your only going to wait in the lobby" So they have access to the movieTheater_controller but they dont have permission to the view_movie function() unless they "paid" admission. So the permission is based temporarily if they "paid" and once the movie is over your access is denied. Hope that makes some kind of sense. Dave --~--~---------~--~----~------------~-------~--~----~ 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---