Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Locked Myself out of Admin
patsjv
✭
I'm new to Vanilla so go easy on me. While playing with settings I managed to limit the administrator functions, and have now managed to lock myself out of accessing the 'settings' tab. Is there a simple way to reset the default administrator role permissions to make them complete again? I'm now an 'administrator' without the ability to change settings. Ugh.
0
This discussion has been closed.
Comments
if so, go into your LUM_Role table, find the Master Administrator record, and look for the Permissions field.
it will look something like this:
a:39:{s:23:"PERMISSION_ADD_COMMENTS";i:0;} etc.
now VERY CAREFULLY paste that entire field into a text editor, look for the parts that say "PERMISSION_(whatever);i:0" and change them to PERMISSION_(whatever);i:1 instead.
copy and paste the new value back into into the database.
That would make sense - and prevent access escalation attacks.
Unchecking this box will prevent you from accessing the Settings tab with this role. Be sure at least one role has this option checked.
Or, is it possible to disable it from being unchecked if Vanilla (somehow) "knows" it is the only role with that option(s) enabled?
because i'm experiencing some trouble with that. I added some extensions that do not set themselves automatically ticked for the admin. So you have to tick the boxes for the admin role, but when I do that, I get a "You don't have permission to access to this document on this server" error..
any suggestions?