Role Creation and Management
Create a role with your desired permissions in Organization Settings > Roles tab > Add Role button. You can also edit or delete roles from that page.Role Deletion BehaviorWhen roles are deleted while being assigned, the users or team will update according to the role assignment level:
- Organization level: The user will receive the default Organization User role.
- Project level: The user will lose access to that project and have no role in it.
- Environment level: The user will lose access to that environment and have no role in it.
Role Assignment
Roles can be assigned to users or teams:- Organization Roles: Assigned in Organization Settings > Users or Teams tab. See Assigning Organization Roles for details.
- Project Roles: Assigned in Project Settings > Users or Teams tab. See Assigning Project Roles for details.
- Environment Roles: Assigned in the Environment page > ACCESS tab. See Assigning Environment Roles for details.
Custom Role Permissions
Deployment Permissions
Environment Permissions
Project Permissions
The Manage Custom Flows permission is rolling out to organizations. Where it is available:
- Organization Admin and Project Admin have it. env zero adds it to every existing custom role that can edit project or organization settings.
- Roles that have only environment permissions, such as Project Deployer, Environment Deployer and Environment Admin, can still view custom flows, but cannot create, edit or delete them. Add Manage Custom Flows to a custom role to give it that access.
- If you manage custom roles with the
env0_custom_roleTerraform resource, addMANAGE_CUSTOM_FLOWSto thepermissionsof each role that hasEDIT_PROJECT_SETTINGSorEDIT_ORGANIZATION_SETTINGS. env zero adds the permission to those roles, so without it the nextterraform planshows a change that removes it, and applying that plan removes custom flow access from the role. Do not addMANAGE_CUSTOM_FLOWSto other roles unless you want them to manage custom flows.