Add requireAllSpaces and disable options to FeatureKibanaPrivileges (#118001)

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: criamico <mariacristina.amico@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
Co-authored-by: Joe Portner <joseph.portner@elastic.co>
This commit is contained in:
Josh Dover 2022-01-06 13:10:12 +01:00 committed by GitHub
parent 90532485f9
commit eab0485fa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 1117 additions and 127 deletions

View file

@ -75,6 +75,8 @@ const appCategorySchema = schema.object({
const kibanaPrivilegeSchema = schema.object({
excludeFromBasePrivileges: schema.maybe(schema.boolean()),
requireAllSpaces: schema.maybe(schema.boolean()),
disabled: schema.maybe(schema.boolean()),
management: schema.maybe(managementSchema),
catalogue: schema.maybe(catalogueSchema),
api: schema.maybe(schema.arrayOf(schema.string())),