echelon icon indicating copy to clipboard operation
echelon copied to clipboard

Echelon admins can promote players to super admin

Open WickedShell opened this issue 14 years ago • 3 comments

If an echelon admin can change user levels they can change the ingame level of a user to any valid group. Including superadmin. Need to add a way to control the maximum group level an admin can change someone to.

WickedShell avatar Apr 16 '11 20:04 WickedShell

Maybe make it so that only site admins can change or create superadmins, only senior admins and above can add/change admins and only admins and above can add/change moderators

82ndab-Bravo17 avatar Apr 17 '11 00:04 82ndab-Bravo17

This is what I was thinking. The only hesitation I had is I'd really liked the fact that it was reading B3 groups and useing those for the names/field changes, and I don't want to hardcode the change. So for now what you have above is definetly happening, but I'd still like to find an easy way to allow a more variable approach.

WickedShell avatar Apr 17 '11 01:04 WickedShell

Maybe another field in the ech_groups table that has the max level that group can set. Then an if statement that checks if the group in the for loop has a level equal to or below that max level value?

FrikFry avatar Apr 17 '11 18:04 FrikFry