Edit history

Earlier versions of Access override/Permission based on multiple roles, newest first.

Current version | Edited by BitCrack
Changes
Current problemThere is currently no way to hide/lock a channel behind multiple roles in an easy way.Removed: If the way you lock your channel is behind "reaction roles", then it is technically possible to create 3 separate roles (role A, role B and role A+B) and have the bot automatically determine which one to give based on what you have selected, then just lock the channel except for the A+B roles.Added: If the way you lock your channel is behind "reaction roles", then it is technically possible to create 3 separate roles (role A, role B and role A+B) and have the bot automatically determine which one to give based on what you have selected, then just lock the channel except for the A+B role.But so far I haven't seen a bot like that, so that'd mean making a custom one or requesting a feature to a bot developer. And this setup doesn't look nice and in general seems like a bandaid solution. Also if you have more complex channels which require different combinations of roles then keeping track of them all could get messy.
Show

Access override/Permission based on multiple roles

Current problem

There is currently no way to hide/lock a channel behind multiple roles in an easy way. If the way you lock your channel is behind "reaction roles", then it is technically possible to create 3 separate roles (role A, role B and role A+B) and have the bot automatically determine which one to give based on what you have selected, then just lock the channel except for the A+B role. But so far I haven't seen a bot like that, so that'd mean making a custom one or requesting a feature to a bot developer. And this setup doesn't look nice and in general seems like a bandaid solution. Also if you have more complex channels which require different combinations of roles then keeping track of them all could get messy.

Proposed change

Allow to create access overrides/permissions that require two or more roles. This simple solution would also allow for other permissions to be based on multiple roles, not just channel visibility.

Platform

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

Additional information

A.png Multiple selection of roles (though this will have to be more thought out, since now clicking will immediately create the access override, so to allow multiple selection there'd probably need to be a button to actually create the override) B.png A new override that works only if someone has all these roles (in this case if they have roles B and C)
Original by BitCrack
Show

Access override/Permission based on multiple roles

Current problem

There is currently no way to hide/lock a channel behind multiple roles in an easy way. If the way you lock your channel is behind "reaction roles", then it is technically possible to create 3 separate roles (role A, role B and role A+B) and have the bot automatically determine which one to give based on what you have selected, then just lock the channel except for the A+B roles. But so far I haven't seen a bot like that, so that'd mean making a custom one or requesting a feature to a bot developer. And this setup doesn't look nice and in general seems like a bandaid solution. Also if you have more complex channels which require different combinations of roles then keeping track of them all could get messy.

Proposed change

Allow to create access overrides/permissions that require two or more roles. This simple solution would also allow for other permissions to be based on multiple roles, not just channel visibility.

Platform

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

Additional information

[[file:A.png]] Multiple selection of roles (though this will have to be more thought out, since now clicking will immediately create the access override, so to allow multiple selection there'd probably need to be a button to actually create the override) [[file:B.png]] A new override that works only if someone has all these roles (in this case if they have roles B and C)