Hey, I've noticed that our non-admin users are una...
# esc
p
Hey, I've noticed that our non-admin users are unable to create their own environments (this differs from how stacks are created where any user can create their own). My question is how do we allow people to create their own environments without having to give them write access across everything?
f
Hi, non-admin users should be able to create their own environments. How are they attempting to create the environments? Are they running into any errors?
p
They are creating (cloning) via the UI
let me get an error message
might it be that they are trying to do it in the default project?
I am able to clone into the default project though 🤔
f
I looked into this - when cloning an environment, a user must have "Open" permissions on the source environment.
p
Ah that would do it. Bit of a footgun if it doesn’t have secrets 😅 .
f
Yah, the main reason is because "Read" permissions doesn't allow one to view resolved values like Secrets, and allowing a clone would bypass that. As a workaround, if the user has "Read" permissions and it doesn't have secrets, they can easily copy over the environment definition
p
Yeah that’s what we’ve done, thanks.