Weird "Undefined property" error in Rapyd Permissions - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Weird "Undefined property" error in Rapyd Permissions (/showthread.php?tid=2691) |
Weird "Undefined property" error in Rapyd Permissions - El Forum - 08-19-2007 [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 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. Weird "Undefined property" error in Rapyd Permissions - El Forum - 08-20-2007 [eluser]Felice Ostuni[/eluser] thnks, trac-ed: http://trac.rapyd.com/ticket/1 If you solve before us, please notice there or in the forum. bye |