Allow users to delete private messages

Description

We would like to give our users permission to delete private messages send to them (from Bots). There is the option for “Delete Direct Messages”, I am not sure what this permission is referring to.
User Permissions:
“Delete Own Message” + “Delete Direct Messages”: User can delete his messages in all channels and direct chats.
“Delete Own Message”: User can delete his messages in all channels and direct chats.
“Delete Direct Messages”: User can not delete his messages also not in direct messages.

The only way is to set the “Delete Message” permission, but than the user can also delete all messages in group chats and also in protected channels.

Is there a solution how I could solve the problem?

Server Setup Information

  • Version of Rocket.Chat Server: 5.4.3
  • Operating System: Debian (k8s)
  • Deployment Method: docker
  • Number of Running Instances: 1
  • NodeJS Version: v14.19.3
  • MongoDB Version: 4.4.15
  • Proxy: nginx