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
-~----------~----~----~----~------~----~------~--~---

Reply via email to