Re: acl tutorial, problem with command line

2009-07-01 Thread mark_story
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

Re: acl tutorial, problem with command line

2009-07-01 Thread number9
I usually do that via a temporary function in one of the controllers - it basically acts as the command line does, I personally prefer doing it this way because I think it is easier. I have attached one of my temporary functions for reference below. Once you have added it to your users controller

acl tutorial, problem with command line

2009-07-01 Thread 0plus1
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 co