Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role based private group/room access #357

Open
shortstack opened this issue Jun 29, 2020 · 8 comments
Open

Role based private group/room access #357

shortstack opened this issue Jun 29, 2020 · 8 comments

Comments

@shortstack
Copy link

Is your feature request related to a problem? Please describe.
Currently, assigning users to a role gives them that role, but that role can't designate what private group/room they get put in because the role is only scoped globally, and does nothing.

Describe the solution you'd like
We need to be able to have users dropped into their respective private rooms/groups based on the global role that gets assigned via SSO/OAuth.

Currently, assigning users to a role gives them that role, but that role can't designate what private group/room they get put in because the role is only scoped globally, and does nothing.

If I change the scope of that role (that the user is already part of) to rooms vs global, the user does not get put into the rooms assigned to that role.

Ideally, adding them to a role that is tied to rooms/private groups puts that user into those rooms/private groups.

Describe alternatives you've considered
Manually adding users to rooms via the API, which is not ideal.

@tazire
Copy link

tazire commented Aug 11, 2020

Came here to request this.
Essentially when i go into the role permissions I want to be able to assign channels that the role will automatically join. The work around as stated above is to individually add each user to a room or make an invite link more publicly available which could result in unwanted users joining the channel.

@brendan-mccoy
Copy link

This would add so much functionality. Channels need more thorough ACLs than they have now. IMO this and more seamless voice/video experience would make rocket.chat a real contender.

@rediahila
Copy link

please add this feature! thanks for such great project

@OdinWynd
Copy link

OdinWynd commented Apr 4, 2021

This would be an awesome feature!

@Momaus
Copy link

Momaus commented Sep 4, 2023

Is there anything new on this topic?
We also need a way that allows association members to have automatic access to some channels without giving interested parties access to interna.

We had the idea, if it is possible to program a bot, which automatically adds the members to the channels based on their roles.

Has anyone tried this before?

@diegolmello
Copy link
Member

You can achieve a similar behavior with teams feature: https://docs.rocket.chat/use-rocket.chat/user-guides/rooms/teams
Of course, importing roles from SSO would be better, but you can create teams to achieve that behavior in the meantime.

@Momaus
Copy link

Momaus commented Sep 4, 2023

Thanks for the quick answer.
Might be a stupid question, but how exactly does a team solve this issue?
If you have a private team, you always have to add the members manually, right? And with read-only teams, the non-members can still read everything.

@diegolmello
Copy link
Member

We need to be able to have users dropped into their respective private rooms/groups based on the global role that gets assigned via SSO/OAuth.

It's not the ideal workflow, but you can manually assign users to their teams and that would add them to their rooms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants