What steps should I follow to resolve the "User doesn’t have permissions SolutionDeployments.Edit granted (#0004)" error when deploying a package in Studio Web?
Issue Description
Attempting to deploy a Solution package in Studio Web may result in the following error message:
"User doesn’t have permissions SolutionDeployments.Edit granted (#0004)."
Root Cause
This error occurs due to insufficient permissions required to deploy and publish projects. Deployment actions are restricted without the necessary role or access privileges.
Solution
Assigning the "Solution Administrator" Role to the appropriate Group at the Tenant level resolves the issue. The role grants sufficient permissions to enable package deployment and project publication in Studio Web. (Reference)
- Open Orchestrator Service and navigate to Manage Access in the Tenant.
- Find the Group associated with the user experiencing the error. Groups are managed at the Tenant level and define permissions for associated users.
- Edit the Group and open the Roles Assignment section for the selected Group.
- Search for the "Solution Administrator" Role.
- Assign the role to the Group and save the changes.
- Confirm that the role assignment has taken effect. The "Solution Administrator" Role should appear in the list of roles associated with the Group in Tenant Administration.
Perform a deployment test in Studio Web to ensure the error no longer persists.
Additional Notes
- Scope of Role: The "Solution Administrator" Role provides permissions at the Tenant level and includes privileges required for deployment actions. Ensure that assigning this role aligns with organizational security policies.
- Least Privilege Principle: Consider modifying or creating a custom role that includes the SolutionDeployments.Edit permission if broader administrative privileges are not required