question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deleting environment variable permission issue

See original GitHub issue

Describe the bug As a maintainer/owner in a group, I am allowed to add environment variables to a specific environment, but when I try to delete this variable it fails with "Unauthorized: You don't have permission to \"delete\" on \"env_var\"."

To Reproduce Steps to reproduce the behavior:

  1. Add variable
mutation {
  addEnvVariable(input: {
    type: ENVIRONMENT, 
    typeId: 463, 
    scope: RUNTIME, 
    name: "MYVARIABLENAME", 
    value: "MyVariableValue"}
  ) {
    id
  }
} ## return ID:123
  1. Note successful variable creation

  2. Delete variable

mutation {
  deleteEnvVariable(input: {id: 123})
}
  1. Get permission denied error
"Unauthorized: You don't have permission to \"delete\" on \"env_var\"."

Expected behavior I should be able to delete variables I created

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
shreddedbaconcommented, Feb 11, 2020

Bumping priority on this

1reaction
shreddedbaconcommented, May 13, 2020

@thompsong this is fixed in Lagoon v.1.4.0+

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deleting environment variable permission issue #1472 - GitHub
As a maintainer/owner in a group, I am allowed to add environment variables to a specific environment, but when I try to delete...
Read more >
Delete an Environment Variable - ProcessMaker Documentation
1. ​View your Environment Variables. The Environment Variables page displays. · 2. Click the Delete icon. for the Environment Variable to delete. The...
Read more >
Permission denied trying to update environment variable in in ...
I am trying to update an environment variable in Windows 7. I am running under an domain account that has local Administrative privileges ......
Read more >
How to Set and Unset Local, User and System Wide ... - Tecmint
Environment Variables are some special variables that are defined in shell and are needed by programs while execution.
Read more >
How can I remove my anaconda environment? - Stack Overflow
Had a similar issue with a conda-meta folder in the environment directory and solved it with rm -rf [full-path-to-conda-env] .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found