RocketChat / RocketChat/Rocket.Chat
Non admin users unable to pin message in direct messages
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
In the current implementation of Rocket.Chat, non-admin users are unable to pin messages in direct messages. The restriction should not apply to direct messages, where all participants should have the ability to pin messages.
Steps to reproduce:
Log in as a non-admin user.
Open a direct message.
Try to pin a message.
Expected behavior:
The non-admin user should be able to pin messages in the direct message.
Actual behavior:
The non-admin user is unable to pin messages .
https://github.com/user-attachments/assets/533c2bb9-d450-46b1-986d-afbfcf401edc
Server Setup Information:
- Version of Rocket.Chat Server: 6.12.1
- License Type:
- Number of Users: 4
- Operating System: MacOs
- Deployment Method:
- Number of Running Instances: 3
- DB Replicaset Oplog: Enabled
- NodeJS Version: 14.21.4 - x64
- MongoDB Version: 7.0.5
Client Setup Information
- Desktop App or Browser Version: 17.5
- Operating System: MacOS
Additional context
Relevant logs:
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
Reproduce the pinning attempt as a non-admin participant in a direct message, then trace the permission path for that action; the issue names no file or test to begin with. Done means direct-message participants can pin messages while the existing restriction remains appropriate elsewhere, with coverage for the reported scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100