RocketChat / RocketChat/Rocket.Chat

Unable to load individual message when viewed anonymously

Open
#9,325 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I seem to be unable to jump to a linked message if I view a channel anonymously.

Server Setup Information:
  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu 16.04
  • Deployment Method(snap/docker/tar/etc): docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: n/a
  • Node Version: 8
Steps to Reproduce:

`

  1. Ensure that anonymous read is enabled, no need for write.
  2. As an authenticated user, grab a permalink for a message, have it be an older message.
  3. Go incognito in your browser and view the message -- it doesn't jump to that message.
Expected behavior:

I expect to see the chat history relative to the linked message

Actual behavior:

I don't see that linked message.

Relevant logs:

Not sure if applicable, will gather if needed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. First reproduce the problem with anonymous read enabled, an older message permalink, and an incognito browser, then trace the permalink and message-loading entry points. Done means the linked message is visible and the channel history is positioned relative to it for anonymous viewers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
authentication, full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.