ivanamat / cakephp3-aclmanager

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

using acl manager in plugin only #37

Closed MathRat closed 4 years ago

MathRat commented 4 years ago

Hi,

i'm trying to use aclmanager for manage acl for a plugin, not for whole application. is it possible to load aclmanager only when in "parent" plugin and to use parental auth methods?

sry my bad english :)

ivanamat commented 4 years ago

Hi @MathRat

You can use AclManager.ignoreActions this was made for that purpose

AclManager.ignoreActions Ignore all plugins, controllers and actions you don't want to add to your ACLs.

Best regards Iván Amat