fix(server): return back 1.9-available permissions
parent
23c6492f24
commit
0e986b6d84
|
@ -175,9 +175,12 @@ func (c *Client) Permissions(context.Context) chronograf.Permissions {
|
||||||
"ManageContinuousQuery",
|
"ManageContinuousQuery",
|
||||||
"ManageQuery",
|
"ManageQuery",
|
||||||
"ManageSubscription",
|
"ManageSubscription",
|
||||||
"ViewAdmin",
|
|
||||||
"CreateDatabase",
|
"CreateDatabase",
|
||||||
"DropDatabase",
|
"DropDatabase",
|
||||||
|
"ViewAdmin",
|
||||||
|
"ViewChronograf",
|
||||||
|
"KapacitorAPI",
|
||||||
|
"KapacitorConfigAPI",
|
||||||
"CreateUserAndRole",
|
"CreateUserAndRole",
|
||||||
"CopyShard",
|
"CopyShard",
|
||||||
"ManageShard",
|
"ManageShard",
|
||||||
|
|
|
@ -213,9 +213,12 @@ func TestClient_Permissions(t *testing.T) {
|
||||||
"ManageContinuousQuery",
|
"ManageContinuousQuery",
|
||||||
"ManageQuery",
|
"ManageQuery",
|
||||||
"ManageSubscription",
|
"ManageSubscription",
|
||||||
"ViewAdmin",
|
|
||||||
"CreateDatabase",
|
"CreateDatabase",
|
||||||
"DropDatabase",
|
"DropDatabase",
|
||||||
|
"ViewAdmin",
|
||||||
|
"ViewChronograf",
|
||||||
|
"KapacitorAPI",
|
||||||
|
"KapacitorConfigAPI",
|
||||||
"CreateUserAndRole",
|
"CreateUserAndRole",
|
||||||
"CopyShard",
|
"CopyShard",
|
||||||
"ManageShard",
|
"ManageShard",
|
||||||
|
|
Loading…
Reference in New Issue