From 2f22946f06e7775236d4bd2a0d18cb03ee45f3a3 Mon Sep 17 00:00:00 2001 From: Misi Date: Fri, 25 Aug 2023 14:07:40 +0200 Subject: [PATCH] RBAC: Enable permission validation by default (#73804) --- conf/defaults.ini | 3 +++ conf/sample.ini | 3 +++ 2 files changed, 6 insertions(+) diff --git a/conf/defaults.ini b/conf/defaults.ini index c53b12d8ca9..2a092f3517d 100644 --- a/conf/defaults.ini +++ b/conf/defaults.ini @@ -872,6 +872,9 @@ permission_cache = true # Warning left to true, basic roles permissions will be reset on every boot reset_basic_roles = false +# Validate permissions' action and scope on role creation and update +permission_validation_enabled = true + #################################### SMTP / Emailing ##################### [smtp] enabled = false diff --git a/conf/sample.ini b/conf/sample.ini index c3a0b5717e7..ba02de55f5b 100644 --- a/conf/sample.ini +++ b/conf/sample.ini @@ -824,6 +824,9 @@ # Warning left to true, basic roles permissions will be reset on every boot #reset_basic_roles = false +# Validate permissions' action and scope on role creation and update +; permission_validation_enabled = true + #################################### SMTP / Emailing ########################## [smtp] ;enabled = false