Recently I had to deal to enable users to add project variable templates to their projects as “save button” was hidden for them. After try&error I found the missing permission: ActionTemplateEdit.
I couldn’t find any related tenants-vairiable-tempaltes docs explaining this, also looks weird (at least to me) that that permissions is used for variable templates as the permission description states: “Edit step templates”
I’m using octopus deploy 3.8.0, but can’t seem to find how to give the permission to add project variable templates. I’ve tried both the ActionTemplateEdit and VariableEdit permissions.
Could you do a hard refresh in your browser (Ctrl+F5) and see if that fixes the issue? Could you also check if there are any errors in the developer console that could hint at what is wrong.
Hard refresh doesn’t work and the only “error” I can see is:
2017-01-24 14:32:07.1822 80 WARN You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: AdministerSystem (test_user requesting http://xxxxx/api/upgradeconfiguration)
I have ActionTemplateCreate|Edit|View + VariableEdit|View + VariableUnscopedEdit|View, running 3.8.0
Note: if i add user to admin group then “save button” in project variables template is shown.
It seems that we are getting a similar error as Cristian,
“ErrorMessage”: “You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: AdministerSystem”,
“HelpText”: “This action requires permission to perform system-level configuration tasks and access control. None of your teams have this permission. Teams that have enough permission include: Octopus Administrators.”
Could I get you to go to Teams->Test permissions, select the user that you’re having the issue with and then click the Export button and send through the export to me as I’m unable to replicate the issue using our demo site (which is running 3.8.2). If you don’t want to share the file publicly in this ticket, feel free to send it to support at octopus dot com referencing this ticket and I’ll pick them up from there.
Find attached my test_user permissions file. With these permissions enabled we cannot create project variables template (save button is not visible). Only adding this user to Octopus Administrators team will make the save button visible. Please note we are running 3.8.0.
Thanks for sending through that info for me, I’ve been able to replicate the issue now locally and have raised #3112 and have a fix for it ready and it will be released early next week.
Thank you and my sincere apologies for the inconvenience caused by this bug.
Henrik