RBAC: Add available scopes to RBAC docs (#93131)
* update the list with some allowed RBAC scopes * extend the http api docs as well * display without bulletpoints * add prettier ignores
This commit is contained in:
@@ -44,9 +44,12 @@ Gets all existing permissions for the dashboard with the given `uid`.
|
||||
|
||||
See note in the [introduction]({{< ref "#dashboard-permission-api" >}}) for an explanation.
|
||||
|
||||
| Action | Scope |
|
||||
| ----------------------------- | ------------------------------------- |
|
||||
| `dashboards.permissions:read` | `dashboards:uid:*`<br>`folders:uid:*` |
|
||||
<!-- prettier-ignore-start -->
|
||||
| Action | Scope |
|
||||
| ----------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||
| `dashboards.permissions:read` | <ul><li>`dashboards:*`</li><li>`dashboards:uid:*`</li><li>`folders:*`</li><li>`folders:uid:*`</li></ul> |
|
||||
{ .no-spacing-list }
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example request**:
|
||||
|
||||
@@ -123,9 +126,12 @@ Updates permissions for a dashboard. This operation will remove existing permiss
|
||||
|
||||
See note in the [introduction]({{< ref "#dashboard-permission-api" >}}) for an explanation.
|
||||
|
||||
| Action | Scope |
|
||||
| ------------------------------ | ------------------------------------- |
|
||||
| `dashboards.permissions:write` | `dashboards:uid:*`<br>`folders:uid:*` |
|
||||
<!-- prettier-ignore-start -->
|
||||
| Action | Scope |
|
||||
| ------------------------------ | ------------------------------------------------------------------------------------------------------- |
|
||||
| `dashboards.permissions:write` | <ul><li>`dashboards:*`</li><li>`dashboards:uid:*`</li><li>`folders:*`</li><li>`folders:uid:*`</li></ul> |
|
||||
{ .no-spacing-list }
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example request**:
|
||||
|
||||
@@ -192,9 +198,12 @@ Gets all existing permissions for the dashboard with the given `dashboardId`.
|
||||
|
||||
See note in the [introduction]({{< ref "#dashboard-permission-api" >}}) for an explanation.
|
||||
|
||||
| Action | Scope |
|
||||
| ----------------------------- | ----------------------------- |
|
||||
| `dashboards.permissions:read` | `dashboards:*`<br>`folders:*` |
|
||||
<!-- prettier-ignore-start -->
|
||||
| Action | Scope |
|
||||
| ----------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||
| `dashboards.permissions:read` | <ul><li>`dashboards:*`</li><li>`dashboards:uid:*`</li><li>`folders:*`</li><li>`folders:uid:*`</li></ul> |
|
||||
{ .no-spacing-list }
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example request**:
|
||||
|
||||
@@ -275,9 +284,12 @@ Updates permissions for a dashboard. This operation will remove existing permiss
|
||||
|
||||
See note in the [introduction]({{< ref "#dashboard-permission-api" >}}) for an explanation.
|
||||
|
||||
| Action | Scope |
|
||||
| ------------------------------ | ----------------------------- |
|
||||
| `dashboards.permissions:write` | `dashboards:*`<br>`folders:*` |
|
||||
<!-- prettier-ignore-start -->
|
||||
| Action | Scope |
|
||||
| ------------------------------ | ------------------------------------------------------------------------------------------------------- |
|
||||
| `dashboards.permissions:write` | <ul><li>`dashboards:*`</li><li>`dashboards:uid:*`</li><li>`folders:*`</li><li>`folders:uid:*`</li></ul> |
|
||||
{ .no-spacing-list }
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example request**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user