Disable User Search (Directory -> Users) for Some User Groups

Description

In our rocket chat we don’t want to show the Directory → Users for some user groups.

Is there a way to disable this?

Server Setup Information

  • Version of Rocket.Chat Server: 3.12.1
  • Operating System: OpenShift
  • Deployment Method: docker on Openshift
  • Number of Running Instances: 2

Any additional Information

I want to disable this:
image