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

limit autocompleting names in private channels to those in the channel

Open sinteur opened this issue 10 years ago • 45 comments

When you're in a private channel and start to type @name... it attempts to autocomplete, but it will include names of people NOT in the channel. If you're using private channels for conversations with customers, this leaks info on other customers (or employees)

sinteur avatar Mar 22 '16 11:03 sinteur

@sinteur I hadn't thought of this use case. Good one though. Also you can't invite on mention... so there really isn't a need to mention anyone outside the channel.

geekgonecrazy avatar Mar 22 '16 18:03 geekgonecrazy

there is.. if you want to say: talk to @sampaiodiego for example.

engelgabriel avatar Mar 22 '16 19:03 engelgabriel

That's my point. It shouldn't. See use case I mentioned

sinteur avatar Mar 22 '16 19:03 sinteur

I agree It should not leak (not send a alert to the person), but the autocomplete should still work.

engelgabriel avatar Mar 22 '16 19:03 engelgabriel

leaking is often unintended and not the the person mentioned, but to the other customers in the channel.

suppose I am talking to several bankers and I accidentally autocomplete @bankerjoker when I meant to autocomplete @bankerjones - where bankerjoker is a competitor and bankerjones who IS in the current channel should not know that.

sinteur avatar Mar 22 '16 19:03 sinteur

if a user have access to a private channel, he'll have access to any person on the chat.. am I wrong?

sampaiodiego avatar Mar 22 '16 19:03 sampaiodiego

Again: auto complete makes me leak info about people who are NOT in the channel TO the people who ARE.

sinteur avatar Mar 22 '16 19:03 sinteur

but everyone in the channel can talk to anyone in the server. there is no such limitation.

sampaiodiego avatar Mar 22 '16 19:03 sampaiodiego

How, if they don't know the other person is on the server? And if the CAN know, they shouldn't or RocketChat is unusable as a way to talk to customers

sinteur avatar Mar 22 '16 19:03 sinteur

OK, this is a specific use case. We should create a special type of users, like "guests" that have much more limited permissions, so that they cannot mention anyone outside their channels.

engelgabriel avatar Mar 22 '16 19:03 engelgabriel

It's not the guests who make the auto-complete error....

sinteur avatar Mar 22 '16 19:03 sinteur

So you want a special setting on rooms so no member is allowed to mention non members?

engelgabriel avatar Mar 22 '16 19:03 engelgabriel

Well - at least leave them out of the autocomplete - if that only works by forbidding the entire @name string, I will live with that. And even better if I can make that the default

sinteur avatar Mar 22 '16 20:03 sinteur

We have discussed, and will work on that in the next week or two.

engelgabriel avatar Mar 25 '16 00:03 engelgabriel

+1

mickeyclausen avatar Apr 13 '16 05:04 mickeyclausen

+1

HenrikSkriver avatar May 29 '16 03:05 HenrikSkriver

+1

hvkirkegaard avatar May 29 '16 03:05 hvkirkegaard

+1, this should reflect for Direct Messages as well, it is the only thing holding us back from launching a large number of "guest" users on our system (freelance workers who can only respond to Direct Messages, not being able to initiate any, or join any channel) - but right now, even in a direct message chat, they get access to everyone's name using the @ list.

stevenhfotofix avatar Jun 16 '16 14:06 stevenhfotofix

@stevenhfotofix consider maybe using the guest role for these users? I think this would lock them down to not be able to see any user not in the channel.

geekgonecrazy avatar Jun 25 '16 03:06 geekgonecrazy

I keep staring at screens and not seeing it. Where do I assign roles to a user?

sinteur avatar Jun 25 '16 10:06 sinteur