Is there a way to configure the design options so that only administrator users can change them?

Hello everyone, I would like to implement the ‘Enforce Analyzer before Publish’ and ‘Enforce Analyzer before Run’ options in order to ensure that our developers adhere to best practices when publishing a project. My problem is that this option can be easily disabled from the design panel. Is there any way to prevent this?

That you can control via Studio governance.

File policy through UiPath Studio → Modern policy → UiPath.policy.Development.json

Example:

“enforce-analyzer-before-run”: true
“enforce-analyzer-before-run-allow-edit”: false
“enforce-analyzer-before-publish”: true
“enforce-analyzer-before-publish-allow-edit”: false

In Automation Ops → Governance → Studio policy

For more details and other options check https://docs.uipath.com/studio/standalone/2024.10/user-guide/governance

1 Like

I’m not sure if it’s because my Studio version is 2023.4.3, but some options that you show in the screenshots do not appear for me, such as:

  1. When generating the ‘Governance’ file, I don’t get the ‘Modern’ or ‘Classic’ option. It just generates them directly.

  2. Although the analyzer options are active, they do not appear in the generated governance file.

Should I add the following lines manually?

“enforce-analyzer-before-run”: true
“enforce-analyzer-before-run-allow-edit”: false
“enforce-analyzer-before-publish”: true
“enforce-analyzer-before-publish-allow-edit”: false

You shouldn’t add those lines manually.
If those are not there, that means the Studio version is not having them exposed.
For them to be available, use this installer https://download.uipath.com/versions/24.10.8/UiPathStudio.msi

Let us know the outcome.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.