Skip to content

Commit e47078a

Browse files
author
Jill Grant
authored
Merge pull request #286491 from maud-lv/ml-grafanalimited
Add Grafana Limited Viewer role
2 parents 9e9b34e + f378f9e commit e47078a

File tree

6 files changed

+59
-12
lines changed

6 files changed

+59
-12
lines changed

articles/managed-grafana/concept-role-based-access-control.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,14 @@ The following built-in roles are available in Azure Managed Grafana, each provid
2525
> | --- | --- | --- |
2626
> | <a name='grafana-admin'></a>[Grafana Admin](../role-based-access-control/built-in-roles/monitor.md#grafana-admin) | Perform all Grafana operations, including the ability to manage data sources, create dashboards, and manage role assignments within Grafana. | 22926164-76b3-42b3-bc55-97df8dab3e41 |
2727
> | <a name='grafana-editor'></a>[Grafana Editor](../role-based-access-control/built-in-roles/monitor.md#grafana-editor) | View and edit a Grafana instance, including its dashboards and alerts. | a79a5197-3a5c-4973-a920-486035ffd60f |
28+
> | <a name='grafana-limited-viewer'></a>[Grafana Limited Viewer](../role-based-access-control/built-in-roles/monitor.md#grafana-limited-viewer) | View a Grafana home page. This role contains no permissions assigned by default and it is not available for Grafana v9 workspaces. | 41e04612-9dac-4699-a02b-c82ff2cc3fb5 |
2829
> | <a name='grafana-viewer'></a>[Grafana Viewer](../role-based-access-control/built-in-roles/monitor.md#grafana-viewer) | View a Grafana instance, including its dashboards and alerts. | 60921a7e-fef1-4a43-9b16-a26c52ad4769 |
2930
3031
To access the Grafana user interface, users must possess one of these roles.
3132

32-
These permissions are included within the broader roles of resource group Contributor and resource group Owner roles. If you're not a resource group Contributor or resource group Owner, a User Access Administrator, you will need to ask a subscription Owner or resource group Owner to grant you one of the Grafana roles on the resource you want to access.
33+
These permissions are included within the broader roles of resource group Contributor and resource group Owner roles. If you're not a resource group Contributor or a resource group Owner, you will need to ask a subscription Owner or resource group Owner to grant you one of the Grafana roles on the resource you want to access.
34+
35+
You can find more information about the Grafana roles from the [Grafana documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/#organization-roles). The Grafana Limited Viewer role in Azure maps to the "No Basic Role" in the Grafana docs.
3336

3437
## Adding a role assignment to an Azure Managed Grafana resource
3538

articles/managed-grafana/how-to-share-grafana-workspace.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,19 @@ Azure Managed Grafana enables such collaboration by allowing you to set custom p
2424

2525
## Supported Grafana roles
2626

27-
Azure Managed Grafana supports the Grafana Admin, Grafana Editor, and Grafana Viewer roles:
27+
Azure Managed Grafana supports the following Grafana roles:
2828

29-
- The Grafana Admin role provides full control of the instance including managing role assignments, viewing, editing, and configuring data sources.
30-
- The Grafana Editor role provides read-write access to the dashboards in the instance.
31-
- The Grafana Viewer role provides read-only access to dashboards in the instance.
29+
- Grafana Admin: provides full control of the instance including managing role assignments, viewing, editing, and configuring data sources.
30+
- Grafana Editor: provides read-write access to the dashboards in the instance.
31+
- Grafana Limited Viewer: provides read-only access to the Grafana home page. This role contains no permissions assigned by default and it is not available for Grafana v9 workspaces.
32+
- Grafana Viewer: provides read-only access to dashboards in the instance.
3233

33-
More details on Grafana roles can be found in the [Grafana documentation](https://grafana.com/docs/grafana/latest/permissions/organization_roles/#compare-roles).
34-
35-
Grafana user roles and assignments are fully [integrated within Microsoft Entra ID](../role-based-access-control/built-in-roles.md#grafana-admin). You can assign a Grafana role to any Microsoft Entra user, group, service principal or managed identity, and grant them access permissions associated with that role. You can manage these permissions from the Azure portal or the command line. This section explains how to assign Grafana roles to users in the Azure portal.
34+
Go to [Azure role-based access control within Azure Managed Grafana](./concept-role-based-access-control.md) for more information about these roles in Azure, and to [Organization roles](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/#organization-roles) to learn about Grafana roles from the Grafana website. The Grafana Limited Viewer role in Azure maps to the "No Basic Role" in the Grafana documentation.
3635

3736
## Add a Grafana role assignment
3837

38+
Grafana user roles and assignments are fully [integrated within Microsoft Entra ID](../role-based-access-control/built-in-roles.md#grafana-admin). You can assign a Grafana role to any Microsoft Entra user, group, service principal or managed identity, and grant them access permissions associated with that role. You can manage these permissions from the Azure portal or the command line. This section explains how to assign Grafana roles to users in the Azure portal.
39+
3940
### [Portal](#tab/azure-portal)
4041

4142
1. Open your Azure Managed Grafana instance.
@@ -44,7 +45,7 @@ Grafana user roles and assignments are fully [integrated within Microsoft Entra
4445

4546
:::image type="content" source="media/share/iam-page.png" alt-text="Screenshot of Add role assignment in the Azure platform.":::
4647

47-
1. Select a Grafana role to assign among **Grafana Admin**, **Grafana Editor** or **Grafana Viewer**, then select **Next**.
48+
1. Select a Grafana role to assign among **Grafana Admin**, **Grafana Editor**, **Grafana Limited Viewer** or **Grafana Viewer**, then select **Next**.
4849

4950
:::image type="content" source="media/share/role-assignment.png" alt-text="Screenshot of the Grafana roles in the Azure platform.":::
5051

@@ -69,6 +70,7 @@ In the code below, replace the following placeholders:
6970
- `<roleNameOrId>`:
7071
- For Grafana Admin, enter `Grafana Admin` or `22926164-76b3-42b3-bc55-97df8dab3e41`.
7172
- For Grafana Editor, enter `Grafana Editor` or `a79a5197-3a5c-4973-a920-486035ffd60f`.
73+
- For Grafana Limited Viewer, enter `Grafana Limited Viewer` or `41e04612-9dac-4699-a02b-c82ff2cc3fb5`.
7274
- For Grafana Viewer, enter `Grafana Viewer` or `60921a7e-fef1-4a43-9b16-a26c52ad4769`.
7375
- `<scope>`: enter the full ID of the Azure Managed Grafana instance.
7476

50.8 KB
Loading

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ The following table provides a brief description of each built-in role. Click th
395395
> | <a name='application-insights-snapshot-debugger'></a>[Application Insights Snapshot Debugger](./built-in-roles/monitor.md#application-insights-snapshot-debugger) | Gives user permission to view and download debug snapshots collected with the Application Insights Snapshot Debugger. Note that these permissions are not included in the [Owner](/azure/role-based-access-control/built-in-roles#owner) or [Contributor](/azure/role-based-access-control/built-in-roles#contributor) roles. When giving users the Application Insights Snapshot Debugger role, you must grant the role directly to the user. The role is not recognized when it is added to a custom role. | 08954f03-6346-4c2e-81c0-ec3a5cfae23b |
396396
> | <a name='grafana-admin'></a>[Grafana Admin](./built-in-roles/monitor.md#grafana-admin) | Perform all Grafana operations, including the ability to manage data sources, create dashboards, and manage role assignments within Grafana. | 22926164-76b3-42b3-bc55-97df8dab3e41 |
397397
> | <a name='grafana-editor'></a>[Grafana Editor](./built-in-roles/monitor.md#grafana-editor) | View and edit a Grafana instance, including its dashboards and alerts. | a79a5197-3a5c-4973-a920-486035ffd60f |
398+
> | <a name='grafana-limited-viewer'></a>[Grafana Limited Viewer](./built-in-roles/monitor.md#grafana-limited-viewer) | View home page. | 41e04612-9dac-4699-a02b-c82ff2cc3fb5 |
398399
> | <a name='grafana-viewer'></a>[Grafana Viewer](./built-in-roles/monitor.md#grafana-viewer) | View a Grafana instance, including its dashboards and alerts. | 60921a7e-fef1-4a43-9b16-a26c52ad4769 |
399400
> | <a name='monitoring-contributor'></a>[Monitoring Contributor](./built-in-roles/monitor.md#monitoring-contributor) | Can read all monitoring data and edit monitoring settings. See also [Get started with roles, permissions, and security with Azure Monitor](/azure/azure-monitor/roles-permissions-security#built-in-monitoring-roles). | 749f88d5-cbae-40b8-bcfc-e573ddc772fa |
400401
> | <a name='monitoring-metrics-publisher'></a>[Monitoring Metrics Publisher](./built-in-roles/monitor.md#monitoring-metrics-publisher) | Enables publishing metrics against Azure resources | 3913510d-42f4-4e42-8a64-420c390055eb |

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

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Gives user permission to view and download debug snapshots collected with the Ap
136136

137137
Perform all Grafana operations, including the ability to manage data sources, create dashboards, and manage role assignments within Grafana.
138138

139-
[Learn more](/azure/managed-grafana/how-to-share-grafana-workspace)
139+
[Learn more](/azure/managed-grafana/concept-role-based-access-control)
140140

141141
> [!div class="mx-tableFixed"]
142142
> | Actions | Description |
@@ -177,7 +177,7 @@ Perform all Grafana operations, including the ability to manage data sources, cr
177177

178178
View and edit a Grafana instance, including its dashboards and alerts.
179179

180-
[Learn more](/azure/managed-grafana/how-to-share-grafana-workspace)
180+
[Learn more](/azure/managed-grafana/concept-role-based-access-control)
181181

182182
> [!div class="mx-tableFixed"]
183183
> | Actions | Description |
@@ -214,11 +214,51 @@ View and edit a Grafana instance, including its dashboards and alerts.
214214
}
215215
```
216216

217+
## Grafana Limited Viewer
218+
219+
View a Grafana home page.
220+
221+
[Learn more](/azure/managed-grafana/concept-role-based-access-control)
222+
223+
> [!div class="mx-tableFixed"]
224+
> | Actions | Description |
225+
> | --- | --- |
226+
> | *none* | |
227+
> | **NotActions** | |
228+
> | *none* | |
229+
> | **DataActions** | |
230+
> | [Microsoft.Dashboard](../permissions/monitor.md#microsoftdashboard)/grafana/ActAsGrafanaLimitedViewer/action | Act as Grafana Limited Viewer role |
231+
> | **NotDataActions** | |
232+
> | *none* | |
233+
234+
```json
235+
{
236+
"id": "/providers/Microsoft.Authorization/roleDefinitions/41e04612-9dac-4699-a02b-c82ff2cc3fb5",
237+
"properties": {
238+
"roleName": "Grafana Limited Viewer",
239+
"description": "View home page.",
240+
"assignableScopes": [
241+
"/"
242+
],
243+
"permissions": [
244+
{
245+
"actions": [],
246+
"notActions": [],
247+
"dataActions": [
248+
"Microsoft.Dashboard/grafana/ActAsGrafanaLimitedViewer/action"
249+
],
250+
"notDataActions": []
251+
}
252+
]
253+
}
254+
}
255+
```
256+
217257
## Grafana Viewer
218258

219259
View a Grafana instance, including its dashboards and alerts.
220260

221-
[Learn more](/azure/managed-grafana/how-to-share-grafana-workspace)
261+
[Learn more](/azure/managed-grafana/concept-role-based-access-control)
222262

223263
> [!div class="mx-tableFixed"]
224264
> | Actions | Description |

articles/role-based-access-control/permissions/monitor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Azure service: [Azure Managed Grafana](/azure/managed-grafana/)
8989
> | **DataAction** | **Description** |
9090
> | Microsoft.Dashboard/grafana/ActAsGrafanaAdmin/action | Act as Grafana Admin role |
9191
> | Microsoft.Dashboard/grafana/ActAsGrafanaEditor/action | Act as Grafana Editor role |
92+
> | Microsoft.Dashboard/grafana/ActAsGrafanaLimitedViewer/action | Act as Grafana Limited Viewer role |
9293
> | Microsoft.Dashboard/grafana/ActAsGrafanaViewer/action | Act as Grafana Viewer role |
9394
9495
## Microsoft.Insights

0 commit comments

Comments
 (0)