mirror of https://github.com/grafana/grafana.git
Chore: rename licensing action (#105143)
This commit is contained in:
parent
902073ead7
commit
06223868b9
|
@ -4,7 +4,7 @@ import "github.com/grafana/grafana/pkg/services/accesscontrol"
|
|||
|
||||
const (
|
||||
ActionRead = "licensing:read"
|
||||
ActionUpdate = "licensing:write"
|
||||
ActionWrite = "licensing:write"
|
||||
ActionDelete = "licensing:delete"
|
||||
ActionReportsRead = "licensing.reports:read"
|
||||
)
|
||||
|
|
|
@ -1257,7 +1257,7 @@
|
|||
}
|
||||
},
|
||||
"post": {
|
||||
"description": "You need to have a permission with action `licensing:update`.",
|
||||
"description": "You need to have a permission with action `licensing:write`.",
|
||||
"tags": [
|
||||
"licensing",
|
||||
"enterprise"
|
||||
|
@ -1325,7 +1325,7 @@
|
|||
},
|
||||
"/licensing/token/renew": {
|
||||
"post": {
|
||||
"description": "Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+.\n\nYou need to have a permission with action `licensing:update`.",
|
||||
"description": "Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+.\n\nYou need to have a permission with action `licensing:write`.",
|
||||
"tags": [
|
||||
"licensing",
|
||||
"enterprise"
|
||||
|
|
|
@ -5993,7 +5993,7 @@
|
|||
}
|
||||
},
|
||||
"post": {
|
||||
"description": "You need to have a permission with action `licensing:update`.",
|
||||
"description": "You need to have a permission with action `licensing:write`.",
|
||||
"tags": [
|
||||
"licensing",
|
||||
"enterprise"
|
||||
|
@ -6061,7 +6061,7 @@
|
|||
},
|
||||
"/licensing/token/renew": {
|
||||
"post": {
|
||||
"description": "Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+.\n\nYou need to have a permission with action `licensing:update`.",
|
||||
"description": "Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+.\n\nYou need to have a permission with action `licensing:write`.",
|
||||
"tags": [
|
||||
"licensing",
|
||||
"enterprise"
|
||||
|
|
|
@ -20186,7 +20186,7 @@
|
|||
]
|
||||
},
|
||||
"post": {
|
||||
"description": "You need to have a permission with action `licensing:update`.",
|
||||
"description": "You need to have a permission with action `licensing:write`.",
|
||||
"operationId": "postLicenseToken",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
|
@ -20216,7 +20216,7 @@
|
|||
},
|
||||
"/licensing/token/renew": {
|
||||
"post": {
|
||||
"description": "Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+.\n\nYou need to have a permission with action `licensing:update`.",
|
||||
"description": "Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+.\n\nYou need to have a permission with action `licensing:write`.",
|
||||
"operationId": "postRenewLicenseToken",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
|
|
Loading…
Reference in New Issue