How to Set Custom Governance Rules for Specific Users in UiPath Studio/StudioX.
Issue description:
When the customer wants to have a different set of governance rules for some specific users, which will bypass the Global governance rules.
Prerequisites:
- Administrative access to UiPath Orchestrator.
- UiPath Studio/StudioX installed.
- Access to governance-related settings in Orchestrator.
Resolution:
Step 1: Generate the Governance File
- Open UiPath Studio/StudioX.
- Go to the Backstage view.
- Click on Help.
- Select Generate Governance File.
- In the Governance File generation screen, choose Classic Policy.
- A file named "uipath.policies.config" will be automatically downloaded.
Step 2: Modify the Governance File
- Navigate to the "uipath.policies.config" file that was downloaded.
- Open the file using a text editor (e.g., Notepad++).
- Make the necessary changes to the governance rules according to your requirements.
- Once the changes are made, copy the entire content of the modified file.
Step 3: Configure Custom Governance Rules in Orchestrator
- Open UiPath Orchestrator and log in.
- Navigate to the "uipath.settings.config" folder in Orchestrator.
- Note: If the folder is not present, governance may be applied via different methods, such as Local/External Files or Automation Ops.
- Navigate to Assets in the folder.
- Look for the asset named "uipath.studio.governancepolicy" and click on Edit.
- Click on add robot asset value.
- In the User section, select the specific User for whom you want to apply the custom governance rules.
- In the Text section, paste the modified governance file content that you copied earlier.
- Click Update to save the changes.
Step 4: Restart Studio/StudioX
- Ask the specific user to restart Studio/StudioX.
- The custom governance rules should now be applied for this user, overriding the global governance policies.