Run Commands

Add Roles to Group via PachCTL

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 #

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.
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.