ivanamat / cakephp3-aclmanager

CakePHP 3.x - Acl Manager
MIT License
27 stars 27 forks source link

Updating docs to include adding config for AclManager.models #14

Closed pfuri closed 7 years ago

pfuri commented 7 years ago

bin/cake acl_extras aco_sync will produce errors if the models are not defined in the Config:

Call to a member function alias() on boolean in [D:\projects\cakephp3-aclmanager-test\vendor\ivanamat\cakephp3-aclmanager\src\Controller\AclController.php, line 90]

ivanamat commented 7 years ago

Hi @pfuri,

Why do you say that you should add "Configure :: write ('AclManager.models', array ('Groups', 'Roles', 'Users')); if only with "Configure :: write ('AclManager.aros', array ('Groups', 'Roles', 'Users')); should it be enough?

Regards!