cakephp-3-acl-example
cakephp-3-acl-example copied to clipboard
Couldn't find Aros node (Groups)
Hey Guys, followed the Tutorial to setup ACL in an already existing Project. Now I Have the following error when i run:
bin/cake acl grant Groups.1 controllers
Exception: AclNode::node() - Couldn't find Aros node identified by "Array
(
[Aros0.model] => Groups
[Aros0.foreign_key] => 1
)
" in [/makakken/vendor/cakephp/acl/src/Model/Table/AclNodesTable.php, line 183]
2017-08-03 07:38:39 Error: [Cake\Core\Exception\Exception] AclNode::node() - Couldn't find Aros node identified by "Array
(
[Aros0.model] => Groups
[Aros0.foreign_key] => 1
)
Can Anyone please give ma hint how to solve the Problem? Yes there is a group with ID 1, it's Administrators , yes there is also a User having the group_id = 1
Running on Dev-Server of PHP 7.1.7
run the command bin/cake acl_extras aco_sync
to generate nodes