Since Phalcon does not support wildcards for Roles, e.g:
$acl->allow("*","ErrorController","customErrorAction");
We need to permit access to all roles severally
foreach($acl->getRoles() as $role){
$acl->allow($role->getName(), "ErrorController","customErrorAction");
}
But if we have a Role with wildcard already defined, e.g:
$acl->deny("Blocked", "*", "*");
this call will sadly fault
$acl->allow("Blocked", "IndexController","accessDeniedAction"); //php5-fpm crash. Nginx return 502
Any suggestions why this is correct behavior since stable 1.1.0?