I am currently using CakePHP 4 with the following plugins installed:
cakephp/acl
CakePHP ACL plugincakephp/authorization
CakePHP authorization plugin
Before, we used the AuthComponent
with the ACL plugin to check for authorization.
Now, the AuthComponent
is deprecated and the alternative is to use the authorization plugin.
How do I use the ACL plugin together with the authorization plugin to check for authorization on each request?