To restrict groups, make the following configuration in the Restricted groups tab:

All groups that are configured in the system are displayed. The Action button is used to decide whether the members of the group see the agent status.

There are 2 different actions:

After the input click Save. You return to the table of statuses.