fix(server): return back 1.9-available permissions

pull/5962/head
Pavel Zavora 2022-06-24 20:31:44 +02:00
parent 23c6492f24
commit 0e986b6d84
2 changed files with 8 additions and 2 deletions

View File

@ -175,9 +175,12 @@ func (c *Client) Permissions(context.Context) chronograf.Permissions {
"ManageContinuousQuery",
"ManageQuery",
"ManageSubscription",
"ViewAdmin",
"CreateDatabase",
"DropDatabase",
"ViewAdmin",
"ViewChronograf",
"KapacitorAPI",
"KapacitorConfigAPI",
"CreateUserAndRole",
"CopyShard",
"ManageShard",

View File

@ -213,9 +213,12 @@ func TestClient_Permissions(t *testing.T) {
"ManageContinuousQuery",
"ManageQuery",
"ManageSubscription",
"ViewAdmin",
"CreateDatabase",
"DropDatabase",
"ViewAdmin",
"ViewChronograf",
"KapacitorAPI",
"KapacitorConfigAPI",
"CreateUserAndRole",
"CopyShard",
"ManageShard",