Migrating users
Agent access definitions are reapplied during every helm upgrade through the ProductConfiguration custom resource.
User-to-role assignments stored in the PPC authentication layer are not migrated automatically. Before removing any legacy assignments, assign the replacement Agent roles to all existing user accounts and verify that each user can successfully sign in and access the Agent.
Remove the legacy role assignments only after validating that the new assignments function as expected for all users.
| Existing PPC role | Replacement Agent role |
|---|---|
proagent_administrator | agent-user |
agent_admin | agent-user |
Note: To access the Agent panel, assign the
agent-userrole.
The agent-model-administrator role is introduced in Protegrity Agent v1.2.0 and has no equivalent in Agent v1.0. Assign this role explicitly to users who need permission to configure and manage models.
Protegrity Agent v1.2.0 does not require any workbench_* roles. Existing Workbench role assignments may be retained or removed based on the Policy Workbench responsibilities of the required user. It has no impact on Agent access or permissions.
Migrating users
To migrate users, perform the following steps:
Complete the helm chart v2.0.0 upgrade. This ensures that the new Agent role definitions exist.For more information about upgrading the helm chart to v2.0.0, refer to Upgrading the Agent to v1.2.0.
Verify that the replacement PPC roles are available with
GET /pty/v1/auth/roles.To inspect role definitions, run the following command:curl -sk "https://$FQDN/pty/v1/auth/roles" \ -H "Authorization: Bearer $TOKEN" | jq .Add the required PPC assignment for the replacement role to every existing user account. Assign
agent-model-administratorexplicitly to the accounts that should manage models. Ensure that any Agent v1.0 roles are attached to it.Verify that users assigned the
agent-userrole can use conversations but receive a403error when running/model-config.Verify that users assigned the
agent-model-administratorrole can use/model-configbut receive a403error when running/conversations.Remove the old
proagent_administratorandagent_adminassignments only after all affected accounts successfully verify these checks.Run
admin list userscommand and confirm that every migrated account has the expected replacement assignments and no obsolete assignments.
Feedback
Was this page helpful?