We are going through the "Simple Acl controlled Application Tutorial"
in the manual.
Everything is going fine until we try and run the "Automated tool for
creating ACOs" in this section;
http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs
When we run this method we get the foll
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
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
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