• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird "Undefined property" error in Rapyd Permissions

#1
[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.

#2
[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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.