Get the SQL queries cake is making, post the here if that doesn't clarify the issue. Also check with an updated version of cake, there are some ACL related bugs that have been fixed in the branch. It will useful to help you, if you include your Auth setup.
On Mon, Mar 31, 2008 at 10:26 PM, Sam Sherlock <[EMAIL PROTECTED]> wrote: > AFAIK login and login are special functions, that don't require acl branches > (is it fair to call them that, part of a tree) > > it won't solve the issue, are other controlers working with acl? > > > > On 31/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have spent hours and hours struggling with the ACL. It is about the > > most frustrating thing I have worked with. I have to use it because > > its inheritable permissions (if anyone has any alternatives to use I > > am all ears). Anyway, this is what my trees look like: > > > > Welcome to CakePHP v1.2.0.6311 beta Console > > ----------------------------------------------- > > Aco tree: > > ----------------------------------------------- > > [1]ROOT > > > > [2]Users > > > > [3]menu > > > > [6]logout > > > > [4]Pages > > > > [5]Candidates > > > > [8]index > > > > [7]Groups > > > > ------------------------- > > Aro tree: > > ------------------------- > > [1]Admin > > > > [2] > > > > [3] > > > > [4]Clients > > > > [5]Client1 > > > > [6]client1user > > > > [7]Client2 > > > > [8]client2user > > ----------------------------------------------- > > So far so good. Then I grant access for Clients to index, and I check > > that client1user successfully inherited permission, which it does. > > > > >cake acl grant Clients index all > > >cake acl check client1user index all > > >>>client1user is allowed. > > > > Then when I login as client1user and go to /Candidates/index, I get > > redirected because the Acl thinks I don't have permission. > > > > Does anyone have any idea why this is happening and what I can do > > about it?? > > > > *frustrated* > > > > Thanks in advance! > > -Eric > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
