Skip to content

Scoping a ProjectEdit user role to a Project Group causes a permission error when changing a runbook in Projects Ephemeral Environment settings. #10048

@Clare-Octopus

Description

@Clare-Octopus

Severity

Blocking a customer with the correct permissions from changing an Ephemeral Environment runbook

Version

2026.1.11461

Latest Version

I could reproduce the problem in the latest build

What happened?

A user who has the correct permissions to a project with ProjectEdit in the user role will see a ProjectEdit permission required button when trying to edit a Ephemeral Environment (EE) runbook in the EE Settings for that project, if that user role is scoped to a project group (that has the EE project in it).

User permissions include ProjectEdit and are scoped as per the below:

Image

If that user then tries to edit a runbook in the EE settings for a project in that project group they get the permissions edit button and cannot save the runbook change:

Image

If I take the project group scoping out:

Image

The user can then change the EE Runbook:

Image

Reproduction

  1. Create an EE environment.
  2. Create a project and add the EE environment, create the runbooks from the UI.
  3. Create a test user role and ensure you include the following permissions in the below screenshot.
  4. Create a test team, include a test user and include the test user role we created in task 3.
  5. Scope the test uer role to the project group the project from task 2 is in.
  6. Logon with the test user, try edit an EE runbook in the EE settings for that project, see the permissions Edit button.
  7. Unscope the user role from the project group in the Team.
  8. Log back on with the test user, change the EE runbook again and note you can now save it.

Min Permissions required:

Image

Error and Stacktrace

N/A

More Information

Initial Customer Ticket (Internal) - https://octopuscd.zendesk.com/agent/tickets/206028
RnD - (Internal) - https://octopusdeploy.slack.com/archives/CNHBHV2BX/p1779791950060789

Workaround

Unscope the user role with the ProjectEdit permission in from the Project Group(s) - You will need to unscope them all.

You can always create a new unscoped user role with just ProjectEdit in and add that to a team as a temporary measure until a fix can be produced for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThis issue represents a verified problem we are committed to solving

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions