acl
acl copied to clipboard
Use 'Acl.' as plugin prefix and pluralized class name in ACL behavior
-
The AclBehavior used the singular table name to add the
hasManyassociation which leats to usage of the wrong table. -
I also replaced
App::className()withAcl.because the Acl Plugin was using generic auto generatedCake\ORM\Tableinstead ofAcl\Model\Table\I checked some other CakePHP plugins and none of it was usingApp::className()