Overwrite admin permissions

Comments

1 comment

  • C0D3 M4513R

    Ref: https://support.discord.com/hc/en-us/articles/206141927-How-is-the-permission-hierarchy-structured-

    For implementing this, I would suggest changing the permission system as follows:

    • Apply denies of @everyone on channel
    • Apply allows of @everyone on channel
    • Apply the allow for the Administrator permission
    • Sum up all the denies of a member's roles and apply them at once
    • Sum up all the allows (exept the Administrator permission) of a member's roles and apply them at once
    • Apply denies for a specific member if they exist
    • Apply allows for a specific member if they exist

    Furthermore the Administrator permission should flag every permission 'allowed'. Therefore SOME effort can be spared, and only the denies would have to be processed afterwards.

    1

Please sign in to leave a comment.