Am new to Cake so am following some tutorials. I have been following
this tutorial which is more or less same as others I have seen:
http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1
But the aros_acos table is not being populated at all. So when my
Admin user logs in I cant access pages I should be able to access like
Users and Groups.
I wonder if it is to do with he following which I cannot get to work:-
To allow ARO's access to ACO's from the shell interface use
cake acl grant $aroAlias $acoAlias
[I actually added all on the end else it wont work, and I get an error
Warning: DbAcl::allow() - Invalid node]
to allow with the AclComponent do the following:
$this->Acl->allow($aroAlias, $acoAlias);
[i dont know where this goes?]
Any help appreciated, thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment