Non admin users unable to pin message in direct messages
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:
Thanks - I have referred this to the team but note there is a long process to get it accepted.
Please be patient.
Hey, @smritidoneria ,
Can you please check if the Pin Message permission is enabled for the user role?
I think this issue should be taken into consideration as well.
It really is poor and should be fixed.
https://github.com/RocketChat/Rocket.Chat/issues/30483
Hey, @smritidoneria ,
Can you please check if the
Pin Messagepermission is enabled for the user role?
no, the user do not have permission to pin message
But user should be allowed to pin the message in direct messaging