RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.09k stars 10.35k forks source link

Non admin users unable to pin message in direct messages #33302

Open smritidoneria opened 5 days ago

smritidoneria commented 5 days ago

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:

Client Setup Information

Additional context

Relevant logs:

reetp commented 5 days ago

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

Please be patient.

scuciatto commented 3 days ago

Hey, @smritidoneria ,

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

reetp commented 3 days ago

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

smritidoneria commented 3 days ago

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