Thursday, December 30, 2010

Re: How to use Grant in Shell ?

Hi,

What are the actual values of $aroAlias and $acoAlias variables?

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Fri, Dec 31, 2010 at 11:47 AM, John Maxim <googol6@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

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: