diff --git a/pkg/services/licensing/accesscontrol.go b/pkg/services/licensing/accesscontrol.go index 9534f888f72..7bdb65d72c3 100644 --- a/pkg/services/licensing/accesscontrol.go +++ b/pkg/services/licensing/accesscontrol.go @@ -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" ) diff --git a/public/api-enterprise-spec.json b/public/api-enterprise-spec.json index 3ecd78ab421..532f039a68f 100644 --- a/public/api-enterprise-spec.json +++ b/public/api-enterprise-spec.json @@ -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" diff --git a/public/api-merged.json b/public/api-merged.json index dbd63de2861..8da6fc47894 100644 --- a/public/api-merged.json +++ b/public/api-merged.json @@ -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" diff --git a/public/openapi3.json b/public/openapi3.json index 1a7d2f5133e..c757125dde7 100644 --- a/public/openapi3.json +++ b/public/openapi3.json @@ -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": {