Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Owner Information of private groups in administration area

Open soenkef opened this issue 10 years ago • 7 comments

Is it possible to implement some information in the admin area in the rooms category - owner Information?

When clicking on administration - rooms - private groups, an information respective to the group owners would be helpful.

Your Rocket.Chat version: 0.28 (make sure you are running the latest)

soenkef avatar Jul 16 '16 17:07 soenkef

I'd also like to see who created the room in the Information window of the room (i.e., the window brought up by clicking on the "i" icon on the right-hand side). Slack does this; that is, it shows the creator of the room when you open the right-hand pane that shows information about the channel.

(The creator of the room is always the owner of the room, right? If not then listing the creator and owner in the information panel would be helpful.)

cbrummitt avatar Aug 05 '16 17:08 cbrummitt

I'm also missing this information to ask for changing the subject, do a hand-over, or whatever.

ericzolf avatar Feb 02 '17 13:02 ericzolf

This would greatly help in identifying orphaned channels when people leave or move in the organization to different tasks.

Gummikavalier avatar Jul 21 '17 06:07 Gummikavalier

It is not possible to delete accounts in 0.69.x that are the last owners in any room anymore. Unfortunately the dialog does not tell what rooms the user is the owner of.

You can find out this by running:

mongo rocketchat --eval "db.rocketchat_room.find( {'u.username':'accountname'}, {'name':1} ).forEach(function(u){print(u.name);})"

where accountname is the account of the problematic user as how it shown in Rocket.Chat.

Gummikavalier avatar Sep 01 '18 09:09 Gummikavalier

mongo rocketchat --eval "db.rocketchat_room.find( {'u.username':'accountname'}, {'name':1} ).forEach(function(u){print(u.name);})"

Does this command still return the owners? I made a change this morning to a private room and it's still showing up under the old owner's account name in the output of this command. The admin interface shows the correct, new private group owner, though. Maybe the db key is different on recent versions of RC? I'm on 3.0.4

krispayne avatar Mar 23 '20 18:03 krispayne

@krispayne I don't remember who tipped me about this originally but you can also check rocketchat_subscriptions with mongo rocketchat --eval "db.rocketchat_subscription.find({\$and:[{'u.username':'accountname'},{'roles': 'owner'}]},{'name':1}).forEach(function(y){print(y.name);})"

This has helped me to find any troubling channel owners so far.

Gummikavalier avatar Mar 24 '20 18:03 Gummikavalier

@Gummikavalier that works well, thanks!

krispayne avatar Apr 28 '20 19:04 krispayne