Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Cannot create deployments without the ProjectEdit permission

Open andrewabest opened this issue 9 months ago • 2 comments

Severity

Blocking some customers from creating deployments

Version

Introduced in 2025.1.4503, resolved in 2025.1.5270.

Latest Version

Not applicable

What happened?

When creating a deployment with a user that does not have ProjectEdit permissions, the following message would be displayed:

You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: ProjectEdit

The ProjectEdit permission should not be required when creating a deployment.

Reproduction

Attempt to create a deployment with a user that does not have the ProjectEdit permission.

Error and Stacktrace

Octopus.Client.Exceptions.OctopusSecurityException: You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: ProjectEdit


### More Information

_No response_

### Workaround

Ensure the user creating the deployment has the `ProjectEdit` permission. This should only be used as a temporary workaround, and this permission revoked as appropriate once you have upgraded to `2025.1.5270` or greater.

andrewabest avatar Jan 08 '25 05:01 andrewabest