Conditional roles

(#1401) Feature Under consideration channels community

Current problem

When setting channel access via roles, you only have the option to allow or deny that role access. This can be a problem if you want a user to have a set of roles in order to have access to that channel.

Proposed change

For roles, you can set a condition that, in order to have access to that channel, a user must have a set number of roles. Can have the option of and/or. So a user must have role1 and role2, or role1 or role2. For example, you have a staff-only private channel. You want only staff and users with a special role to have access to that channel. With the current setup, either all users with the special role or all staff users have access to that channel. If you set a condition that a user must have both roles to access the channel, they can see it only if they have both roles.

Comments

Sign in with Fluxer to comment and vote.

No comments yet.