'Managed Roles' on a Role should not apply itself to a higher Role the user has.

Comments

2 comments

  • Paulsen, Chris

    For those who want the higher roles to be able to 'Manage Roles', all they have to do is add that permission to the higher role.

    0
  • Improbability

    I just ran into this, and I wholly agree with the OP.  The "Manage Roles" permission should not set the role hierarchy access based on the highest role the person holds but the highest role that confers the permission.

    I don't see a good reason for the current behavior.  If we wanted higher roles to have that control, we could give it to them.

    Use case:  I have admin/mod stuff at the top, a bunch of cosmetics in the middle and a quarantine role at the bottom.  I want to create a new helper role so that trusted members can put people into quarantine.  But this won't work the way I want (even if the helper role is just above the quarantine role) because the helper with Manage Roles permission will get control over the highest cosmetic assigned to them instead of just the bottom role.

    Manage Roles is much too powerful to delegate without the ability to better target what it can do, and using the role level where it's assigned would be an intuitive and useful improvement to that.

    edit: A workaround for this use case is something like a YAGPDB custom command.  The bot can be configured to enable a command for a role, and the command can be a single specific role.  For example a custom command named "quarantine" would support "-quarantine user" and could be given to a specific role.

    {{giveRoleName (userArg (index .CmdArgs 0)) "quarantine"}}

    0

Please sign in to leave a comment.