I am following the tutorial on Auth and ACL on
http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-2
But seem to be stuck on the part regarding
You can create ACO objects from the Acl shell or You can use the
AclComponent. Shell usage looks like:
cake acl create aco root controllers
While using the AclComponent would look like:
$this->Acl->Aco->create(array('parent_id' => null, 'alias' =>
'controllers'));
I ran the connamd from the console and see the acos table now has:
id, parent_id, model, foreign_key, alias,
lft, rght,
1 NULL NULL NULL controllers 1
2
What i am confused about is do i have to add something to my all controllers
that are going to be added to the list?
I have 3 restricted controllers: members, managers, and organizers so they
can only acess allowed parts of the site
member belongs to group 1
managers belong to group 2
organizers belong to group 3
Thnaks,
Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---