> I had the same problem trying this "approach". In fact you need to > give the rights to admin as for the other (I use role myself). > What I did is : > > - disabling the Auth in app controller > - empty the acos_aros table > - log as admin > - call my interface for managing role's rights (it displays all > controller / all actions per user's role with a pair of links allow / > denied) > - allow the acl interface to admin > - Enabling again the Auth > > Then when you log as admin (of course you allow in beforeFilter the > login action), since you have the "right" to manage ACL permissions, > you can enable/disable actions for yourself (and the others) as much > as you want.
this sounds really useful, would you consider posting an example app of this for all of us who are struggling with ACL and Auth (such as me!). thanks, jon -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
