[eluser]Kemik[/eluser]
Hello,
I used Rapyd to manage my ACL system. It works great for all the times I've used it, except this time.
All the files in the controllers folder have "has_permission(number)" of some kind and it works. E.g. if someone doesn't have that permission they get an error.
However, I have made some controllers for the admin side (controllers/admin) & (views/admin) but now I get:
Quote:Message: Undefined property: allow_deny
Filename: classes/rapyd_auth.php on line 302.
The database field is obviously there as I use the function throughout the rest of the app.
Does anyone have any suggestions?
Edit: I've locked it down to a problem with roles. The system allows the user to have direct permissions. E.g. If I give user Bill permission 8, I can access 8. However if I give user Bill role 2 (admin) and role 2 has access to 8, the system gives that error.