RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.4k stars 10.51k forks source link

Rocket.Chat displays 'You must join to view messages in this channel' for guest users on Discussions #17244

Closed luixxiul closed 4 years ago

luixxiul commented 4 years ago

Description:

The bug is similar to https://github.com/RocketChat/Rocket.Chat/issues/14425.

Rocket.Chat displays the 'You must join to view messages in this channel' banner for guest users even though they're subscribed to the channel and can view and send messages.

This one happens on Discussions to which the channel, where the guest user was added, links.

Steps to reproduce:

The bug is similar to https://github.com/RocketChat/Rocket.Chat/issues/14425.

  1. Create a guest user.
  2. Make sure that allow anonymous read is not globally enabled and that the guest group does not have the preview-c-room permission.
  3. Add the guest user to a channel.
  4. Open Discussions.
  5. Select any one.

Expected behavior:

The discussion should either be hidden based on a setting or the banner should not be displayed

Actual behavior:

Clipboard01

Server Setup Information:

Client Setup Information

Additional context

Relevant logs:

luixxiul commented 4 years ago

I am not quite if the issue consistently can be reproduced. It might be just related with cache.

gabriellsh commented 4 years ago

Were you able to reproduce this?

luixxiul commented 4 years ago

I have not tried again as it is on production site and I do not want to use that for reproducing the issue if it exists.

luixxiul commented 4 years ago

It looks the issue has not been reproduced. I will reopen if I start to see this again.