Well you can't just run that command copy + paste style.  The idea was
to show how the parameters are used. Not give a concrete use.

so you could do

cake acl grant jimbo controllers '*'

or

cake acl grant barney controllers/beers/drink '*'

But simply copying and pasting will not work.

-Mark

On Jul 1, 5:48 am, 0plus1 <[email protected]> wrote:
> I'm following the tutorial on ACLs and I'm stuck 
> here:http://book.cakephp.org/view/648/Setting-up-permissions
>
> I'm on windows :-( and when I issue this command:
> cake acl grant $aroAlias $acoAlias [create|read|update|delete|'*']
>
> I get this error message in return: "read" is not recognized as a
> command...
>
> Can you tell me why?
>
> On the same topic, when the tutorial says:
>
> To allow with the AclComponent do the following:
>
> $this->Acl->allow($aroAlias, $acoAlias);
>
> I understand that the file is: cake/libs/controller/components/acl.php
>
> Where exatly this line must be put? how does it differs from the
> command line version?
>
> Thank you very much, the more I dwell into cake the more I fall in
> love with it..
>
> David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to