I followed the tutorial in the cookbook to implement an ACL and I ran
into a problem when I was trying to log-in. Everything seems to be
working. I've checked my ARO and ACO trees and they're in order. My
password and user names are correct.
Aro tree:
---------------------------------------------------------------
[1]Group.1
[3]User.1
[5]User.3
[2]Group.2
[4]User.2
---------------------------------------------------------------
Aco tree:
---------------------------------------------------------------
[1]controllers
[2]Pages
[3]Comments
[4]Groups
[5]Posts
[6]Users
---------------------------------------------------------------
Group.1 = Administrators
Group.2 = Contributors
I've been trying to log in as User.1 whose aro_id = 3 and should have
access to controllers which has an aco_id of 1.
My aros_acos table looks like this
id aro_id aco_id _create _read _update _delete
1 1 1 1 1 1
1
1 3 1 1 1 1
1
User 1 is a member of group 1 so he should already be authorize, but I
kept getting the un-authorized message so I tried giving him access on
the user level. I still get the un-authorized message though.
Does anyone have a clue what's up?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---