Chore: rename licensing action (#105143)

pull/105688/head
lean.dev 1 month ago committed by GitHub
parent 902073ead7
commit 06223868b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/services/licensing/accesscontrol.go
  2. 4
      public/api-enterprise-spec.json
  3. 4
      public/api-merged.json
  4. 4
      public/openapi3.json

@ -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…
Cancel
Save