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.
Role List Fix
Role List Fix
0
This discussion has been closed.
Comments
Also, it still boots you back to the homepage when you try to edit the role of someone on your same level. Is it easy to have an error instead?
Good work though!
Otherwise if I set this up for someone I'll get loads of support queries saying that its broken! As long as they know that they cant, its all good...
Cheers.
The Administrator can do whatever they wish, the logic specifically excludes the highest ranked user (according to the priority field) from being restricted.
Using a permissions system to allow certain roles to promote certain other roles to certain roles could get quite complicated, quite fast. I think the current priority system is easy to understand and allows you a decent amount of flexibility. The only thing I'd add is to allow some roles to have the same priority as others (effectively being on the same level).
I'll probably add it sometime but for now, this fixes the main role issues.
What did you change in 1.1 by the way?
This is how a moderator sees an administrator...