A revamp to permission hierarchy

Komentarze

Komentarze: 7

  • Erkin Alp

    > Instead of grouping all allows and denies before applying them, stack all the roles a user has and then look at them from the top. This way, the permission of the highest ranked role apply.

    This will solve neutrals, but how about disallows at the higher levelled role groups? You will definitely need an ability to determine to allow roles with equal power hierarchy levels, but with different actual powers in the scheme you suggest (using numeric modifers to determine the hierarchical ordering, to enable hierarchically equal roles). With that change applied, the permission calculation changes to:

    1. Sort all the roles of the user who is the member of according to power level of said roles.
    2. For each numerical power level (a collection of roles), lowest to highest, apply permissions. AND denies, then OR allows (allow wins for a given level, but still gets overruled by a deny in the higher power level). If you revoke a permission as a result of this computation as an owner, that operation will get irreversibly disallowed from you, unless you have someone else to "grant" again (explained below) — usual permission drop semantics.
    3. New "ban anyone", "unban anyone", "mute anyone", "deaf anyone", "undeaf anyone" permissions. When any of these permissions gets applied, it will overrule usual mute/deaf/ban/kick permissions.
    4. Separation of "manage roles" into "manage any permission", "grant permissions", "delegate permissions", "revoke others permissions". With this change, revocation of a permission from self will always be allowed per power drop semantics.
    -2
  • Lumin

    Permission Hierarchies used to be a thing. That article just has not been updated yet.
    However I do feel like they direly need to bring Hierarchies back. At least as an option. I have managed Servers, even if fairly small ones, for a few years now (roughly 2-3 years), and the roles used to be really easy to get to work. You could just add a new role on top, adjust its permissions and not have to worry about any roles below that. That was especially useful for muting people, since you could just put a "muted" role at the top and take away all talking permissions.
    Doing this is now near impossible. Setting this up without a hierarchy is a huge hassle, having to juggle around with lots of roles. Truly this was a change for the worse, and I really hope they work on a fix asap, so I can actually fix my Server again. This change made it pretty much impossible to properly manage a Server without spending weekends juggling roles around, or setting up bots to do it for you.

    1
  • x Hades Stamps

    Well, fortunately, there is no such thing as equal hierarchy levels, Erkin Alp. Roles can either be above or below each other in your server settings, not next to each other. Same applies for per-category and per-channel. Additionally, as an owner, you literally cannot revoke permissions from yourself unless you transfer ownership.

    1
  • Erkin Alp

    Why fortunately?

    > Additionally, as an owner, you literally cannot revoke permissions from yourself unless you transfer ownership.

    You currently cannot. You will be able to, if this gets accepted.

    -1
  • x Hades Stamps

    No, I see nothing about being able to revoke permissions from yourself as an owner, and I highly doubt the Discord team would implement that even if it were in there. Good morning.

    1
  • Cas

    I believe there needs to be a (group of) user(s) with absolute power if simply for the fact that it would prevent lockout. I don't believe that it's relevant for this feature request though.

    0
  • Erkin Alp

    Cas Lock-out is better than governance clash. You can start over or fork the community if you experience a lock-out. Which is what the Discord support team suggests when the community managers and moderators have disagreement among themselves anyway.

    0

Zaloguj się, aby dodać komentarz.