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

Channel ownership information for the regular users #30126

Open
Gummikavalier opened this issue Aug 21, 2023 · 10 comments · May be fixed by #34507
Open

Channel ownership information for the regular users #30126

Gummikavalier opened this issue Aug 21, 2023 · 10 comments · May be fixed by #34507

Comments

@Gummikavalier
Copy link

Gummikavalier commented Aug 21, 2023

Description:

RC user interface lacks information about the owners of the channels for the common user role. Currently this information is shown for the regular users only after the sender name of the messages in a form of owner badge.

This information is important particularly in private channel situations, where the actual owners of the channels have not been posting any messages for some time, and the members are in the need of requesting more members to the channel.

At this point they need to contact admins. This is not very handy for the bigger installations.
Usually the admins do not have access to these channels to begin with, which leads to overly complex maintenance process for a feature that otherwise could be handled by the users and channel owners themselves.

When coupled with the automatic ownership inheritance feature the understanding of any private channels becomes unclear in long term.

In effect for the lack of the ownership information admins are seeing more and more requests to add members to the user generated private channels instead of contacting the actual owner of the channel.

Our suggestion is that all or minimum three owners of the channel should be listed in the channel info page, or any other easy to spot location in the UI.

Steps to reproduce:

  1. Use RC as a regular user on a channel where the owner has been silent for a longer period of time.
  2. Try to figure out who are the owners of the channel without pointing the message to everybody.

Expected behavior:

You see the owners on the channel marked clearly in the membership list or in the info page of the channel.

Actual behavior:

The information about the owners of the channel is not available to the regular user.

Server Setup Information:

  • Version of Rocket.Chat Server: 6.3.1
  • Operating System: RHEL8
  • Deployment Method: tar
  • Number of Running Instances: 10
  • DB Replicaset Oplog: Yes
  • NodeJS Version: 14.21.3
  • MongoDB Version: 5.0

Client Setup Information

  • Desktop App or Browser Version: Latest browsers
@ipikiiskinen
Copy link

I would like to see additional filter in channel/team/room members listing, which currently have filter only to presence (All or Online). That additional filter could have select/choice menu listed with all configured role configured in Permissions definitions. The default value could be Any, that would not use any role as filter, but lists all users.
I would not add these into presence filter, but have a new additional filter.

@Gummikavalier
Copy link
Author

Totally agree. A filter would be perfect for this.

@ashutosh887
Copy link

Let me try this @hugocostadev @Gummikavalier

@Ninad3721
Copy link

Hello , can anybody guide me on how to get the room admin info , I tried to query the roomInfo object but it do not provide any info about room admin

@Gummikavalier
Copy link
Author

Gummikavalier commented Sep 19, 2023

Sorry, I'm not aware what API call would do that since channels.members does not provide that information, even though there is API calls for adding and removing them.

Because I haven't found a better way I usually do the ownership checks directly via the database rocketchat_subscription collection like this:
db.rocketchat_subscription.find({$and:[{'fname':'roomnamehere'},{'roles': 'owner'}]},{'u.username':1})

@Ninad3721
Copy link

ok thank you will try with this !

@Vansh5632
Copy link

is this issue is still active or closed

@ipikiiskinen
Copy link

Don't know if this is really active, but at least with 6.11.3 the status is the same. RC user interface lacks information about the owners of the channels for the common user role in the channel user lists. Only way is to spot it, is from the channel messages as lablels after username, but if the owners are not active, users can't get this info.

@Vansh5632
Copy link

okay might going to give it a try

@Curious-Goblin
Copy link

I have added a PR for this issue can someone look into it!!

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