Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit-room-retention-policy permission don't give Override global retention policy action to owner of a room #19678

Closed
rouet opened this issue Nov 25, 2020 · 0 comments · Fixed by #20727
Assignees
Milestone

Comments

@rouet
Copy link

rouet commented Nov 25, 2020

Description:

We define a retention global policy for prune messages
We set the edit-room-retention-policy permission to owner of room
Owner only can desactivate the automatic clean and not change the policy in room info panel
The "Automatically prune old messages" button is enabled
The "Override global retention policy" button is disabled

Steps to reproduce:

We define a global retention policy for prune messages
We added the edit-room-retention-policy permission to Owner role
Owner only can desactivate the automatic clean and not change the policy in room info panel
The "Automatically prune old messages" button is enabled
The "Override global retention policy" button is disabled

Expected behavior:

Owner can modify the retention policy

Actual behavior:

Owner can not modify the retention policy

Server Setup Information:

  • Version of Rocket.Chat Server: 3.8.1
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances: one
  • DB Replicaset Oplog: ??
  • NodeJS Version: v12.18.4
  • MongoDB Version: 4.4.0

Client Setup Information

  • Desktop App or Browser Version:3.0.7
  • Operating System:MacOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants