Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find Aros node (Groups) #12

Open
makakken opened this issue Aug 3, 2017 · 1 comment
Open

Couldn't find Aros node (Groups) #12

makakken opened this issue Aug 3, 2017 · 1 comment

Comments

@makakken
Copy link

makakken commented Aug 3, 2017

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

@fatematzuhora
Copy link

run the command bin/cake acl_extras aco_sync to generate nodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants