Granting or Revoking Roles

Granting a Role

If you want to manage roles for a single user, you can use the grant role command. That way, you can add new roles to a user for an existing project.

  1. Log in to the Jupyter console as a user with one of these roles: AIZEN_ADMIN or PROJECT_ADMIN.

  2. Create or open a notebook.

  3. If you are granting a project-level role, you will need to execute the set project command to set the current project:

    set project <project name>
  4. Execute the grant role command to grant the required roles to the user.

    grant role <comma separated roles list> to <user id>

    Example: grant role PROJECT_EXECUTOR to user1

Revoking a Role

If you want to remove any roles that were granted to a user, follow these steps:

  1. Log in to the Jupyter console as a user with one of these roles: AIZEN_ADMIN or PROJECT_ADMIN.

  2. Create or open a notebook.

  3. If you are revoking a project-level role, you will need to execute the set project command to set the current project:

    set project <project name>
  4. Execute the revoke role command to revoke roles from the user:

    revoke role <comma separated roles list> from <user id>

    Example: revoke role PROJECT_EXECUTOR from user1

Last updated