Run Commands

Add Roles to Group

Learn how to grant and modify permissions on given resources for a group of users.

Before You Start #

How to Assign Roles to a Group #

  1. Enable group management in your IdP of choice .
  2. Update your connector config to include the appropriate attributes.
Syntax:
  1. Update the config by running the following command:
pachctl idp update-connector <connector-id> --version 2
  1. Grant the group roles by running the following command:
pachctl auth set <resource-type>  <resource-name> <role-name> group:<group-name>
  1. Confirm the group’s roles were updated for the given resource:
Resource Type:
💡

The command pachctl auth get-groups lists the groups that have been defined on your cluster.