Skip to content

Commit 38a50f7

Browse files
authored
Merge pull request #258527 from RoseHJM/ade-deployment-environments-reader
ADE - deployment environments reader
2 parents 1a937ea + 961a492 commit 38a50f7

8 files changed

Lines changed: 32 additions & 23 deletions

articles/deployment-environments/how-to-configure-deployment-environments-user.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,19 @@ ms.topic: how-to
1313

1414
# Provide access for developers to projects in Deployment Environments
1515

16-
In Azure Deployment Environments, development team members must get access to a specific project before they can create deployment environments. By using the built-in Deployment Environments User role, you can assign permissions to Active Directory users or groups at either the project level or the environment type level.
16+
In Azure Deployment Environments, development team members must have access to a project before they can create deployment environments. By using the built-in roles, Deployment Environments User and Deployment Environments Reader, you can assign permissions to Active Directory users or groups at either the project level or the environment type level.
1717

18-
Based on the scope of access that you allow, a developer who has the Deployment Environments User role can:
18+
When assigned at the project level, a developer who has the Deployment Environments User role can perform the following actions on all enabled project environment types:
1919

2020
* View the project environment types.
2121
* Create an environment.
2222
* Read, write, delete, or perform actions (like deploy or reset) on their own environment.
23+
24+
A developer who has the Deployment Environments Reader role can:
25+
2326
* Read environments that other users created.
2427

25-
When you assign the role at the project level, the user can perform the preceding actions on all environment types enabled at the project level. When you assign the role to specific environment types, the user can perform the actions only on the respective environment types.
28+
When you assign a role to specific environment types, the user can perform the actions only on the respective environment types.
2629

2730
## Assign permissions to developers for a project
2831

@@ -42,7 +45,7 @@ When you assign the role at the project level, the user can perform the precedin
4245

4346
:::image type="content" source="media/quickstart-create-configure-projects/add-role-assignment.png" alt-text="Screenshot that shows the Add role assignment pane.":::
4447

45-
The users can now view the project and all the environment types that you've enabled within it. Users who have the Deployment Environments User role can also [create environments from the Azure CLI](./quickstart-create-access-environments.md).
48+
The users can now view the project and all the environment types enabled within it. Users who have the Deployment Environments User role can [create environments in the developer portal](./quickstart-create-access-environments.md).
4649

4750
## Assign permissions to developers for an environment type
4851

@@ -65,10 +68,9 @@ The users can now view the project and all the environment types that you've ena
6568

6669
:::image type="content" source="media/quickstart-create-configure-projects/add-role-assignment.png" alt-text="Screenshot that shows the Add role assignment pane.":::
6770

68-
The users can now view the project and the specific environment type that you've granted them access to. Users who have the Deployment Environments User role can also [create environments by using the Azure CLI](./quickstart-create-access-environments.md).
71+
The users can now view the project and the specific environment type that you granted them access to. Users who have the Deployment Environments User role can also [create environments in the developer portal](./quickstart-create-access-environments.md).
6972

70-
> [!NOTE]
71-
> Only users who have the Deployment Environments User role, the DevCenter Project Admin role, or a built-in role with appropriate permissions can create environments.
73+
[!INCLUDE [note-deployment-environments-user](includes/note-deployment-environments-user.md)]
7274

7375
## Next steps
7476

articles/deployment-environments/how-to-configure-project-admin.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ The users can now view the project and manage all the environment types that you
6666

6767
The users can now view the project and manage only the specific environment type that you've granted them access to. DevCenter Project Admin users can also [create environments by using the Azure CLI](./quickstart-create-access-environments.md).
6868

69-
> [!NOTE]
70-
> Only users who have the Deployment Environments User role, the DevCenter Project Admin role, or a built-in role with appropriate permissions can create environments.
69+
[!INCLUDE [note-deployment-environments-user](includes/note-deployment-environments-user.md)]
7170

7271
## Next steps
7372

articles/deployment-environments/how-to-create-access-environments.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ Creating an environment automatically creates the required resources and a resou
2626

2727
Complete the following steps in the Azure CLI to create an environment and configure resources. You can view the outputs as defined in the specific Azure Resource Manager template (ARM template).
2828

29-
> [!NOTE]
30-
> Only a user who has the [Deployment Environments User](how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](how-to-configure-project-admin.md) role, or a [built-in role](../role-based-access-control/built-in-roles.md) that has the required permissions can create an environment.
29+
[!INCLUDE [note-deployment-environments-user](includes/note-deployment-environments-user.md)]
3130

3231
1. Sign in to the Azure CLI:
3332

articles/deployment-environments/how-to-create-configure-projects.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ In this quickstart, you give access to your own ID. Optionally, you can replace
168168
```
169169
170170
171-
> [!NOTE]
172-
> Only a user who has the [Deployment Environments User](how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](how-to-configure-project-admin.md) role, or a built-in role that has appropriate permissions can create an environment.
171+
[!INCLUDE [note-deployment-environments-user](includes/note-deployment-environments-user.md)]
173172
174173
## Next steps
175174
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
ms.service: deployment-environments
3+
ms.topic: include
4+
author: RoseHJM
5+
ms.author: rosemalcolm
6+
ms.date: 11/14/2023
7+
---
8+
9+
> [!NOTE]
10+
> Only users who have the [Deployment Environments User](../how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](../how-to-configure-project-admin.md) role, or a built-in role that has appropriate permissions can create an environment. Users who have the [Deployment Environments Reader](../how-to-configure-deployment-environments-user.md) role can view their own environments, and environments created by others.

articles/deployment-environments/overview-what-is-azure-deployment-environments.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,18 @@ Developers have the following self-service experience when working with [environ
4848

4949
### Platform engineering scenarios
5050

51-
Azure Deployment Environments helps your platform engineer apply the right set of policies and settings on various types of environments, control the resource configuration that developers can create, and centrally track environments across projects by doing the following tasks:
51+
Azure Deployment Environments helps your platform engineer apply the right set of policies and settings on various types of environments, control the resource configuration that developers can create, and track environments across projects. They perform the following tasks:
5252

5353
- Provide a project-based, curated set of reusable IaC templates.
5454
- Define specific Azure deployment configurations per project and per environment type.
5555
- Provide a self-service experience without giving control over subscriptions.
5656
- Track costs and ensure compliance with enterprise governance policies.
5757

58-
Azure Deployment Environments supports two [built-in roles](../role-based-access-control/built-in-roles.md):
58+
Azure Deployment Environments supports three [built-in roles](../role-based-access-control/built-in-roles.md):
5959

6060
- **Dev Center Project Admin**: Creates environments and manages the environment types for a project.
61-
- **Deployment Environments User**: Creates environments based on appropriate access.
61+
- **Deployment Environments User**: Creates environments based on appropriate access.
62+
- **Deployment Environments Reader**: Reads environments that other users created.
6263

6364

6465
## Benefits
@@ -84,7 +85,7 @@ Use APIs to provision environments directly from your preferred CI tool, integra
8485

8586
[Microsoft Dev Box](../dev-box/overview-what-is-microsoft-dev-box.md) and Azure Deployment Environments are complementary services that share certain architectural components. Dev Box provides developers with a cloud-based development workstation, called a dev box, which is configured with the tools they need for their work. Dev centers and projects are common to both services, and they help organize resources in an enterprise.
8687

87-
When configuring Deployment Environments, you may see Dev Box resources and components. You may even see informational messages regarding Dev Box features. If you're not configuring any Dev Box features, you can safely ignore these messages.
88+
When configuring Deployment Environments, you might see Dev Box resources and components. You might even see informational messages regarding Dev Box features. If you're not configuring any Dev Box features, you can safely ignore these messages.
8889

8990
## Next steps
9091
Start using Azure Deployment Environments:

articles/deployment-environments/quickstart-create-access-environments.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ In this quickstart, you learn how to:
3030

3131
An environment in Azure Deployment Environments is a collection of Azure resources on which your application is deployed. You can create an environment from the developer portal.
3232

33-
> [!NOTE]
34-
> Only a user who has the [Deployment Environments User](how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](how-to-configure-project-admin.md) role, or a [built-in role](../role-based-access-control/built-in-roles.md) that has appropriate permissions can create an environment.
33+
[!INCLUDE [note-deployment-environments-user](includes/note-deployment-environments-user.md)]
3534

3635
1. Sign in to the [developer portal](https://devportal.microsoft.com).
3736
1. From the **New** menu at the top left, select **New environment**.
@@ -49,7 +48,7 @@ An environment in Azure Deployment Environments is a collection of Azure resourc
4948

5049
:::image type="content" source="media/quickstart-create-access-environments/add-environment.png" alt-text="Screenshot showing add environment pane.":::
5150

52-
If your environment is configured to accept parameters, you're able to enter them on a separate pane. In this example, you don't need to specify any parameters.
51+
If your environment is configured to accept parameters, you're able to enter them on a separate pane. In this example, you don't need to specify any parameters.
5352

5453
1. Select **Create**. You see your environment in the developer portal immediately, with an indicator that shows creation in progress.
5554

articles/deployment-environments/quickstart-create-and-configure-projects.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ To configure a project, add a [project environment type](how-to-configure-projec
7878
|---------|----------|
7979
|**Type**| Select a dev center level environment type to enable for the specific project.|
8080
|**Deployment subscription**| Select the subscription in which the environment is created.|
81-
|**Deployment identity** | Select either a system-assigned identity or a user-assigned managed identity that's used to perform deployments on behalf of the user.|
81+
|**Deployment identity** | Select either a system-assigned identity or a user-assigned managed identity to perform deployments on behalf of the user.|
8282
|**Permissions on environment resources** > **Environment creator role(s)**| Select the roles to give access to the environment resources.|
8383
|**Permissions on environment resources** > **Additional access** | Select the users or Microsoft Entra groups to assign to specific roles on the environment resources.|
8484
|**Tags** | Enter a tag name and a tag value. These tags are applied on all resources that are created as part of the environment.|
@@ -108,8 +108,8 @@ Before developers can create environments based on the environment types in a pr
108108

109109
:::image type="content" source="media/quickstart-create-configure-projects/add-role-assignment.png" alt-text="Screenshot that shows the Add role assignment pane.":::
110110

111-
> [!NOTE]
112-
> Only a user who has the [Deployment Environments User](how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](how-to-configure-project-admin.md) role, or a built-in role that has appropriate permissions can create an environment.
111+
[!INCLUDE [note-deployment-environments-user](includes/note-deployment-environments-user.md)]
112+
113113

114114
## Next steps
115115

0 commit comments

Comments
 (0)