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

I found it:

from Permissions - Rocket.Chat Docs

view-outside-room

Permission to find new channels and users. Users without this permission wont see channels that they are not part of when searching using the spotlight.

(meanwhile on version 3.14.4)

Hi and thanks for coming back and letting people know!