Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Non admin users unable to pin message in direct messages

Open smritidoneria opened this issue 1 year ago • 4 comments

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:

smritidoneria avatar Sep 17 '24 10:09 smritidoneria

Thanks - I have referred this to the team but note there is a long process to get it accepted.

Please be patient.

reetp avatar Sep 17 '24 11:09 reetp

Hey, @smritidoneria ,

Can you please check if the Pin Message permission is enabled for the user role?

scuciatto avatar Sep 18 '24 18:09 scuciatto

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

reetp avatar Sep 18 '24 21:09 reetp

Hey, @smritidoneria ,

Can you please check if the Pin Message permission 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

smritidoneria avatar Sep 19 '24 11:09 smritidoneria