Add Roles to Group via PachCTL

Before You Start

How to Assign Roles to a Group

This guide uses Auth0 and assumes resources (projects, repositories) have already been created in your cluster.

  1. Enable group management in your IdP of choice .

  2. Update your connector config to include the appropriate attributes.

  3. Update the config by running the following command:

    pachctl idp update-connector <connector-id> --version 2
  4. Grant the group roles by running the following command:

    pachctl auth set <resource-type>  <resource-name> <role-name> group:<group-name>
  5. Confirm the group’s roles were updated for the given resource:

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