We upgraded to 2018.4.9 this morning and we are now having issues with permissions when editing variables.
I can reproduce the issue by creating a User Role that only has VariableEdit and VariableEditUnscoped permissions. I assign a Team to this role and as soon as I try and restrict it by Project or Environment I get the following error on screen when editing a variable:
"You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: VariableEdit
This action requires permission to edit variables belonging to a project. At least one of your teams has this permission in a limited scope, but this doesn’t cover the project or environment in question. Teams that have enough permission include: …"
I have tried adding all Projects and all Environments individually but still get the same error. It’s only when I leave the Projects and Environments blank does it work.
This has meant I have had to give our support team a wider range of permissions than they need so a speedy resolution would be appreciated!