How to set the Clean Direct History permission


We’re running the community edition of RC6.2.8. We’re looking at retention policies, and encouraging users to prune some of the less formal channels, specifically DM rooms. As an admin I can prune messages from my DM channels. but our users cannot.

We can set the Clean Channel History permission that allows users to prune their DM channels, but it also allows them to prune any channel they’re a member of. This is less than ideal.

This page (scroll down a bit) refers to the Clean Direct History permission, but that permission doesn’t appear in our permissions table.

Is there something we need to to enable this permission?
Is this permission a feature of the Enterprise edtion?
Is it just that the docs are ahead of the development team?

How can we allow our users to prune their DM channels without letting them loose on the other channels as well?

Server Setup Information

  • Version of Rocket.Chat Server: 6.2.8 Community
  • Operating System: Ubuntu 22.04
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version: 6.05
  • Proxy: Caddy
  • Firewalls involved: - pfSense, but not relevant to this.

Any additional Information