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

Limit @ user list to members of private room

Open danieljhochman opened this issue 9 years ago • 10 comments

If I have a private room and try to @ someone, the users which appear in the list should be limited to the members of that private room.

danieljhochman avatar Jul 13 '17 16:07 danieljhochman

@Sing-Li - this is not a show stopper for us (for pahse 1) but seems like an important bug to fix

danieljhochman avatar Jul 13 '17 16:07 danieljhochman

Related/Duplicate #2588

geekgonecrazy avatar Jul 14 '17 17:07 geekgonecrazy

+1 I think this makes sense, because in contrast to channels you can't add an user by @username to a private room.

localguru avatar Jul 19 '17 21:07 localguru

I actually quite like the fact you can @ other people in a private room. If you're talking about someone specifically, it's good to be able to show someone who you're talking about so the other person you're talking to can click on that linked persons profile, for example and grab their e-mail address/details.

Chris-Duke avatar Jul 25 '17 19:07 Chris-Duke

@ing other people is fine. Showing members in the auto-complete who are not in the private room, is not correct. Look how Slack does it.

danieljhochman avatar Jul 26 '17 10:07 danieljhochman

Here it seems like privacy by default would be best. Maybe allow it to be overrode to show all via permission

geekgonecrazy avatar Jul 27 '17 18:07 geekgonecrazy

@geekgonecrazy - what's the use-case for showing non-members in a private room? Why even make it a setting?

danieljhochman avatar Jul 27 '17 19:07 danieljhochman

The main use case would be so that people that like to refer to people outside the room still can. But by default it wouldn't be possible.

Also wouldn't be a setting. Lets say for instance the permission is on admin. Admin could see and mention anyone.

If you decided to set your server up so your staff can see others on the server but guests you invite in (lets say clients) are not. You would simply assign the guest a role with out the permission to view / mention users not in group.

Not saying this is how it will be implemented. Just saying this is what would be most flexible. The developer that takes this will ultimately be the one to decide.

A permission could always be added later if people missed being able to mention.

geekgonecrazy avatar Jul 28 '17 16:07 geekgonecrazy

Why not just seperate the list into


Users of this channel

x x x x


Users not in this channel

x x x x

And have the priority autocomplete be the people in the room.

JSzaszvari avatar Jul 28 '17 17:07 JSzaszvari

@jszaszvari because of privacy primarily. :) The few i've talked to that want this want to invite their clients to a private group and them not be able to use autocomplete and accidentally see other clients.

geekgonecrazy avatar Jul 28 '17 21:07 geekgonecrazy