AccessControl: document FGAC licensing permissions (#39192)

* document licensing permissions and roles

* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update docs/sources/enterprise/access-control/permissions.md

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* update action name for "licensing.reports:read"

* put licensing editor role back in, more table formatting

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
Ieva
2021-10-05 18:35:01 +02:00
committed by GitHub
co-authored by Gabriel MABILLE
parent 5374eaca89
commit 71c6d7285e
3 changed files with 45 additions and 6 deletions
+33
View File
@@ -9,6 +9,9 @@ aliases = ["/docs/grafana/latest/http_api/licensing/"]
Licensing is only available in Grafana Enterprise. Read more about [Grafana Enterprise]({{< relref "../enterprise" >}}).
If you are running Grafana Enterprise and have [Fine-grained access control]({{< relref "../enterprise/access-control/_index.md" >}}) enabled, for some endpoints you would need to have relevant permissions.
Refer to specific resources to understand what permissions are required.
## Check license availability
> **Note:** Available in Grafana Enterprise v7.4+.
@@ -17,6 +20,16 @@ Licensing is only available in Grafana Enterprise. Read more about [Grafana Ente
Checks if a valid license is available.
### Required permissions
See note in the [introduction]({{< ref "#enterprise-license-api" >}}) for an explanation.
| Action | Scope |
| -------------- | ----- |
| licensing:read | n/a |
### Examples
**Example request:**
```http
@@ -47,6 +60,16 @@ Status codes:
Manually ask license issuer for a new token.
### Required permissions
See note in the [introduction]({{< ref "#enterprise-license-api" >}}) for an explanation.
| Action | Scope |
| ---------------- | ----- |
| licensing:update | n/a |
### Examples
**Example request:**
```http
@@ -97,6 +120,16 @@ Status Codes:
Removes the license stored in the Grafana database.
### Required permissions
See note in the [introduction]({{< ref "#enterprise-license-api" >}}) for an explanation.
| Action | Scope |
| ---------------- | ----- |
| licensing:delete | n/a |
### Examples
**Example request:**
```http