RocketChat / RocketChat/Rocket.Chat
Unable to load individual message when viewed anonymously
Open
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:
`
- Ensure that anonymous read is enabled, no need for write.
- As an authenticated user, grab a permalink for a message, have it be an older message.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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