I'm trying to grant edit Users permission to a group (users) using the cli.
Here's the relevant line from the aros table:
id parent_id model foreign_key alias lft rght
3 NULL Group 3 NULL 13 22
Here's the relevant line from from the acos table:
id parent_id model foreign_key alias lft rght
27 1 NULL NULL Users 68 89
31 27 NULL NULL edit 75 76
I tried using this command:
cake acl grant users Users edit
but I got this error message:
PHP Warning: DbAcl::allow() - Invalid node in /var/www/html/cakepf/cake/libs/controller/components/acl.php on line 361
Warning: DbAcl::allow() - Invalid node in /var/www/html/cakepf/cake/libs/controller/components/acl.php on line 361 Permission was not granted.
Any assistance on how to accomplish this would be much appreciated.