You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code:
$acl = new \Phalcon\Acl\Adapter\Memory();
$acl->setDefaultAction(\Phalcon\Acl::DENY);
$acl->addRole(new \Phalcon\Acl\Role('11'));
$acl->addResource(new \Phalcon\Acl\Resource('11'), array('index'));
Error on add resource: Resource '11' does not exist in ACL
Phalcon version: 1.2.4
If replace Resource from '11' to 'res11' all works fine
The text was updated successfully, but these errors were encountered:
Code:
$acl = new \Phalcon\Acl\Adapter\Memory();
$acl->setDefaultAction(\Phalcon\Acl::DENY);
$acl->addRole(new \Phalcon\Acl\Role('11'));
$acl->addResource(new \Phalcon\Acl\Resource('11'), array('index'));
Error on add resource: Resource '11' does not exist in ACL
Phalcon version: 1.2.4
If replace Resource from '11' to 'res11' all works fine
The text was updated successfully, but these errors were encountered: