Access control: allow hiding roles (#46358)

* allow hiding roles

* extend docs

* docs feedback

* extend provisioning docs

* formatting

Co-authored-by: Leonard Gram <leo@xlson.com>
This commit is contained in:
Ieva
2022-03-15 13:17:45 +00:00
committed by GitHub
parent 5cf0906622
commit 510c69ec91
4 changed files with 46 additions and 17 deletions

View File

@@ -162,4 +162,8 @@ func AddMigration(mg *migrator.Migrator) {
//------- indexes ------------------
mg.AddMigration("add unique index builtin_role_role_name", migrator.NewAddIndexMigration(seedAssignmentV1, seedAssignmentV1.Indices[0]))
mg.AddMigration("add column hidden to role table", migrator.NewAddColumnMigration(roleV1, &migrator.Column{
Name: "hidden", Type: migrator.DB_Bool, Nullable: false, Default: "0",
}))
}