cakephp-3-acl-example icon indicating copy to clipboard operation
cakephp-3-acl-example copied to clipboard

AclNode::node() - Couldn't find Aros node identified by "Array ( [Aros0.model] => Users [Aros0.foreign_key] => 1 ) "

Open orfevre-U opened this issue 7 years ago • 1 comments

Hello, I know this issue was reported before but the solution you give is not working for me. I've followed step by step your guide to set ACL to a cakephp3 project but having this error. How to fix it? please help me. Best regards error aclnode node couldn t find aros node identified by array aros0 model users aros0 foreign_key 1

orfevre-U avatar Jul 17 '17 09:07 orfevre-U

The error was generated because of the group permission did not work perfectly. You may run the following command bin/cake acl view aro to view the ARO tree and after that give permission as you want.

One more thing, create your groups and users before running the following command bin/cake acl_extras aco_sync otherwise it will also generate the same error.

fatematzuhora avatar Dec 20 '17 13:12 fatematzuhora