Permissions Field Resets when editing permissions
I've created an application for Garden that defines 5 new permissions, when I try to edit a role to change these permissions, the whole "Permissions" field in gdn_users for the users in the respective role is blanked, thus resulting in a Fatal error when they try to login.
Is this a bug in Garden, or the way I defined the permissions. (in the about.php file of the application)?
Is this a bug in Garden, or the way I defined the permissions. (in the about.php file of the application)?
0
Comments
Have you filled out the contributor's agreement?
http://vanillaforums.org/contributors
After you've done that, I can implement your contribution
Althought it's not much of a contrubution
The Permission update does not work for none of the users! It just deletes the whole "Permissons"-content in GDN_User when I update a user's role!!
This prevents Users from logging in (obviously), displaying a "You're not authorized" message.
Strange thing is: the permissions on the webinterface is saved & displayed correctly!? (might this be a caching issue?)
Any clues?
Any idea how to debug this?
It turns out that it's not an issue with the "Permission" field.
Instead, the value "Garden.SignIn.Allow" in the Permissions-Table GDN_Permission was set to FALSE (0) for the Members-Role.