Skip to content

Commit 2074a88

Browse files
committed
Add Grafana roles.
1 parent 5b20ef6 commit 2074a88

File tree

2 files changed

+113
-2
lines changed

2 files changed

+113
-2
lines changed

articles/role-based-access-control/built-in-roles.md

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ The following table provides a brief description of each built-in role. Click th
264264
> | [Blueprint Contributor](#blueprint-contributor) | Can manage blueprint definitions, but not assign them. | 41077137-e803-4205-871c-5a86e6a753b4 |
265265
> | [Blueprint Operator](#blueprint-operator) | Can assign existing published blueprints, but cannot create new blueprints. Note that this only works if the assignment is done with a user-assigned managed identity. | 437d2ced-4a38-4302-8479-ed2bcb43d090 |
266266
> | [Cost Management Contributor](#cost-management-contributor) | Can view costs and manage cost configuration (e.g. budgets, exports) | 434105ed-43f6-45c7-a02f-909b2ba83430 |
267-
> | [Cost Management Reader](#cost-management-reader) | Can view cost data and configuration (e.g. budgets, exports) | 72fafb9e-0641-4937-9268-a91bfd8191a3 |
267+
> | [Cost Management Reader](#cost-management-reader) | Can view cost data and configuration (e.g. budgets, exports) | 72fafb9e-0641-4937-9268-a91bfd819a3 |
268+
> | [Grafana Admin](#grafana-admin) | Can perform all Grafana operations, including managing data sources, creating dashboards and managing role assignments. | 22926164-76b3-42b3-bc55-97df8dab3e41 |
269+
> | [Grafana Editor](#grafana-editor) | Can view and edit a Grafana instance, including its dashboards and alerts. | a79a5197-3a5c-4973-a920-486035ffd60f |
270+
> | [Grafana Viewer](#grafana-viewer) | Can view a Grafana instance, including its dashboards and alerts. | 60921a7e-fef1-4a43-9b16-a26c52ad4769 |
268271
> | [Hierarchy Settings Administrator](#hierarchy-settings-administrator) | Allows users to edit and delete Hierarchy Settings | 350f8d15-c687-4448-8ae1-157740a3936d |
269272
> | [Kubernetes Cluster - Azure Arc Onboarding](#kubernetes-cluster---azure-arc-onboarding) | Role definition to authorize any user/service to create connectedClusters resource | 34e09817-6cbe-4d01-b1a2-e0eac5743d41 |
270273
> | [Kubernetes Extension Contributor](#kubernetes-extension-contributor) | Can create, update, get, list and delete Kubernetes Extensions, and get extension async operations | 85cb6faf-e071-4c9b-8136-154b5a04f717 |
@@ -13399,6 +13402,102 @@ Can view cost data and configuration (e.g. budgets, exports) [Learn more](../cos
1339913402
}
1340013403
```
1340113404

13405+
### Grafana Admin
13406+
13407+
Can perform all Grafana operations, including managing data sources, creating dashboards and managing role assignments.
13408+
13409+
> [!div class="mx-tableFixed"]
13410+
> | Actions | Description |
13411+
> | --- | --- |
13412+
> | [Microsoft.Dashboard](resource-provider-operations.md#microsoftdashboard)/grafana/ActAsGrafanaAdmin/action | Built-in Grafana admin role. |
13413+
13414+
```json
13415+
{
13416+
"id": "/providers/Microsoft.Authorization/roleDefinitions/22926164-76b3-42b3-bc55-97df8dab3e41",
13417+
"properties": {
13418+
"roleName": "Grafana Admin",
13419+
"description": "Built-in Grafana Admin role",
13420+
"assignableScopes": [
13421+
"/"
13422+
],
13423+
"permissions": [
13424+
{
13425+
"actions": [],
13426+
"notActions": [],
13427+
"dataActions": [
13428+
"Microsoft.Dashboard/grafana/ActAsGrafanaAdmin/action"
13429+
],
13430+
"notDataActions": []
13431+
}
13432+
]
13433+
}
13434+
}
13435+
```
13436+
13437+
### Grafana Editor
13438+
13439+
Can view and edit a Grafana instance, including its dashboards and alerts.
13440+
13441+
> [!div class="mx-tableFixed"]
13442+
> | Actions | Description |
13443+
> | --- | --- |
13444+
> | [Microsoft.Dashboard](resource-provider-operations.md#microsoftdashboard)/grafana/ActAsGrafanaEditor/action | Built-in Grafana Editor role. |
13445+
13446+
```json
13447+
{
13448+
"id": "/providers/Microsoft.Authorization/roleDefinitions/a79a5197-3a5c-4973-a920-486035ffd60f",
13449+
"properties": {
13450+
"roleName": "Grafana Editor",
13451+
"description": "Built-in Grafana Editor role",
13452+
"assignableScopes": [
13453+
"/"
13454+
],
13455+
"permissions": [
13456+
{
13457+
"actions": [],
13458+
"notActions": [],
13459+
"dataActions": [
13460+
"Microsoft.Dashboard/grafana/ActAsGrafanaEditor/action"
13461+
],
13462+
"notDataActions": []
13463+
}
13464+
]
13465+
}
13466+
}
13467+
```
13468+
13469+
### Grafana Viewer
13470+
13471+
Can view a Grafana instance, including its dashboards and alerts.
13472+
13473+
> [!div class="mx-tableFixed"]
13474+
> | Actions | Description |
13475+
> | --- | --- |
13476+
> | [Microsoft.Dashboard](resource-provider-operations.md#microsoftdashboard)/grafana/ActAsGrafanaViewer/action | Built-in Grafana Viewer role. |
13477+
13478+
```json
13479+
{
13480+
"id": "/providers/Microsoft.Authorization/roleDefinitions/60921a7e-fef1-4a43-9b16-a26c52ad4769",
13481+
"properties": {
13482+
"roleName": "Grafana Viewer",
13483+
"description": "Built-in Grafana Viewer role",
13484+
"assignableScopes": [
13485+
"/"
13486+
],
13487+
"permissions": [
13488+
{
13489+
"actions": [],
13490+
"notActions": [],
13491+
"dataActions": [
13492+
"Microsoft.Dashboard/grafana/ActAsGrafanaViewer/action"
13493+
],
13494+
"notDataActions": []
13495+
}
13496+
]
13497+
}
13498+
}
13499+
```
13500+
1340213501
### Hierarchy Settings Administrator
1340313502

1340413503
Allows users to edit and delete Hierarchy Settings

articles/role-based-access-control/resource-provider-operations.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ Click the resource provider name in the following table to see the list of opera
142142
| [Microsoft.Commerce](#microsoftcommerce) |
143143
| [Microsoft.Consumption](#microsoftconsumption) |
144144
| [Microsoft.CostManagement](#microsoftcostmanagement) |
145+
| [Microsoft.Dashboard](#microsoftdashboard) |
145146
| [Microsoft.DataProtection](#microsoftdataprotection) |
146147
| [Microsoft.Features](#microsoftfeatures) |
147148
| [Microsoft.GuestConfiguration](#microsoftguestconfiguration) |
@@ -12639,6 +12640,17 @@ Azure service: [Cost Management](../cost-management-billing/index.yml)
1263912640
> | Microsoft.CostManagement/views/delete | Delete saved views. |
1264012641
> | Microsoft.CostManagement/views/write | Update view. |
1264112642

12643+
### Microsoft.Dashboard
12644+
12645+
Azure service: [Azure Managed Grafana](../managed-grafana/index.yml)
12646+
12647+
> [!div class="mx-tableFixed"]
12648+
> | Action | Description |
12649+
> | --- | --- |
12650+
> | Microsoft.Dashboard/grafana/ActAsGrafanaAdmin/action | Built-in Grafana Admin role. |
12651+
> | Microsoft.Dashboard/grafana/ActAsGrafanaEditor/action | Built-in Grafana Editor role. |
12652+
> | Microsoft.Dashboard/grafana/ActAsGrafanaViewer/action | Built-in Grafana Viewer role. |
12653+
1264212654
### Microsoft.DataProtection
1264312655

1264412656
Azure service: Microsoft.DataProtection
@@ -13810,4 +13822,4 @@ Azure service: [Services Hub](/services-hub/)
1381013822

1381113823
- [Match resource provider to service](../azure-resource-manager/management/azure-services-resource-providers.md)
1381213824
- [Azure built-in roles](built-in-roles.md)
13813-
- [Cloud Adoption Framework: Resource access management in Azure](/azure/cloud-adoption-framework/govern/resource-consistency/resource-access-management)
13825+
- [Cloud Adoption Framework: Resource access management in Azure](/azure/cloud-adoption-framework/govern/resource-consistency/resource-access-management)

0 commit comments

Comments
 (0)