Edit history

Channel Override deny permissions respect hoist order has not been edited, so there are no earlier versions.

Current version | Original by TakoSalad
Show

Channel Override deny permissions respect hoist order

Current problem

so for example I have 2 roles: 1) role A has a channel override set "attach files" permission OFF and is higher than role B 2) role B has a channel override set "attach files" permission ON and is lower than role A If a user has both role A and role B, they can still attach files in a channel, even though role A forbids them from attaching images and is hoisted higher than role B

Proposed change

Let the highest hoisted role override lower roles for channel overrides. If you DENY a role a channel permission and it's higher than a role that ALLOWS it, the higher role should have priority. I am aware that this would potentially be a breaking change for the API and bots, perhaps it could be put behind an optional guild toggle or something.

Platform

macOS, Windows, Linux, Web, Android, iOS, API, Self-hosting