Editing administrator privileges for importing archives with schema changes into production
Assigning a role with schema privileges set to production level 5 enables administrators to import archives containing schema changes into a production system. For example, Pega Cloud customers can have their administrator import archives that include schema changes without requiring Pegasystems Cloud Operations to perform this step.
To enable the system to import an archive with schema changes into production, edit the following role privileges:
- SchemaImport - Enables you to make schema changes when importing an archive.
- ViewAndOptimizeSchema - Controls access to the Optimize Schema and Modify Schema landing pages.
The default system administrator role is PegaRules:SysAdm4; the default setting for these privileges is production level 2. As a best practice, create an application-specific role that contains the updated privileges and then assign that role to administrator access groups.
For more information about production levels, see Completing the Production tab in the help.
Editing the system administrator privileges
Follow these steps to update the privileges for your application-specific system administrator role:
- Follow these steps to create a new role:
- Click .
- In the Label field, enter YourAppNameSchemaAdmin.
- In the Context section, select your application, ruleset, and version.
- Click .
- Click .
- Click the plus sign to add an Access Class.
- In the Class field, enter @baseclass.
- Click .
- Edit the new role:
- Click @baseclass.
- In the Privileges section, click the plus sign twice to create two new lines.
- Add the ViewAndOptimizeSchema privilege.
In the Name column, enter ViewAndOptimizeSchema.
In the Level column, enter 5. - Add the SchemaImport privilege.
In the Name column, enter SchemaImport.
In the Level column, enter 5. - Click .
- Click .
- Close the role.
- Add the new role to the list of available roles for your system administrator access group by doing the following steps:
- Click and select the administrator access group for your application.
- In the Available roles section, verify that the updated role appears.
- If the updated role does not appear, click YourAppNameSchemaAdmin. and enter
- Click .