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.

Disabling role editing

lmzlmz
edited February 2009 in Vanilla 1.0 Help
Hi, I've integrated Vanilla into a website that has its own user database & auth system. I must say that it went relatively easily because Vanilla's code is AWESOME :). Anyways, now I want to make the roles uneditable (at least the built-in ones) even by the administrator because I'm using the default IDs in my code (3=Member, 4=Administrator) to assign default roles to a user "crossing over" from the website. Any ideas? Or should I just remove the PERMISSION_*_ROLES permissions from the Administrator role? I think that would make the link in the control panel go away.

Comments

  • Make a control class for yourself, put only you in it. Then disable it on the admins permissions.
Sign In or Register to comment.