Thursday, December 30, 2010

Re: How to use Grant in Shell ?

i changed the core path in environment variables

the question is do i grant correctly using

>cake acl grant $aroAlias $acoAlias all

?


thanks, rgds.
maxim
On Dec 31, 2:17 pm, John Maxim <goog...@gmail.com> wrote:
> I have tried:
>
> >cake acl grant $aroAlias $acoAlias
>
> ---
> Error: Wrong number of parameters
> Got: 2
> Expected: 3
> Please type `cake acl help` for help
> on usage of the AclShell grant.
>
> ---
>
> >cake acl grant $aroAlias $acoAlias all
>
> --
> PHP Warning:  DbAcl::allow() - Invalid node in C:\wamp\www\cakephp\cake
> \libs\controller\components\acl.php on line 361
>
> Warning: DbAcl::allow() - Invalid node in C:\wamp\www\cakephp\cake\libs
> \controller\components\acl.php on line 361
> Permission was not granted.
>
> --
>
> I think the problem is I just saw it. My cake console core path is at:
>
> www/cakephp
>
> How can I change to /www
>
> ?
>
> My work and app path is both at /www
>
> Or is there something wrong with my grant command line ?
>
> Regards,
> Maxim

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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: