I did have a problem when define access a role. In the controller, i defined method access_map() with the config permissions. In the manage role's privilege manager, I defined the permissions a same role for the method of controller. But, when try access a method, the response is "you do not have sufficient permission to access this resource".
I did have a problem when define access a role. In the controller, i defined method access_map() with the config permissions. In the manage role's privilege manager, I defined the permissions a same role for the method of controller. But, when try access a method, the response is "you do not have sufficient permission to access this resource".
my doubt was on the next line: https://github.com/xiidea/ezRbac/blob/master/libraries/accessmap.php#L214
where i changed and leave as follows:
And it worked. I work with PHP 5.5.4.