Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-feature-flag-threshold-alert-detail…
Browse files Browse the repository at this point in the history
…s-view
  • Loading branch information
benakansara authored Jul 24, 2023
2 parents b5b15e0 + 8fcd199 commit a8c5fcb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions config/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ xpack.cloud_integrations.data_migration.enabled: false
data.search.sessions.enabled: false
advanced_settings.enabled: false

# Disable UI of security management plugins
xpack.security.ui.userManagementEnabled: false
xpack.security.ui.roleManagementEnabled: false
xpack.security.ui.roleMappingManagementEnabled: false

# Enforce restring access to internal APIs see https://github.com/elastic/kibana/issues/151940
# server.restrictInternalApis: true
# Telemetry enabled by default and not disableable via UI
Expand Down
6 changes: 3 additions & 3 deletions x-pack/plugins/security/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ export const ConfigSchema = schema.object({
schema.contextRef('serverless'),
true,
schema.object({
userManagementEnabled: schema.boolean({ defaultValue: false }),
roleManagementEnabled: schema.boolean({ defaultValue: false }),
roleMappingManagementEnabled: schema.boolean({ defaultValue: false }),
userManagementEnabled: schema.boolean({ defaultValue: true }),
roleManagementEnabled: schema.boolean({ defaultValue: true }),
roleMappingManagementEnabled: schema.boolean({ defaultValue: true }),
}),
schema.never()
),
Expand Down

0 comments on commit a8c5fcb

Please sign in to comment.