From 013661bbf4673c526e66b1cad68e1b55b2012451 Mon Sep 17 00:00:00 2001 From: Firstyear Date: Wed, 8 Jan 2025 16:51:46 +1000 Subject: [PATCH] Allow modification of password minimum length (#3345) Allow all account policy values to be altered on system protected objects. --- server/lib/src/plugins/protected.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/lib/src/plugins/protected.rs b/server/lib/src/plugins/protected.rs index b30232b6a..f62f2d255 100644 --- a/server/lib/src/plugins/protected.rs +++ b/server/lib/src/plugins/protected.rs @@ -37,9 +37,13 @@ lazy_static! { Attribute::Image, // modification of account policy values for dyngroup. Attribute::AuthSessionExpiry, - Attribute::PrivilegeExpiry, + Attribute::AuthPasswordMinimumLength, Attribute::CredentialTypeMinimum, + Attribute::PrivilegeExpiry, Attribute::WebauthnAttestationCaList, + Attribute::LimitSearchMaxResults, + Attribute::LimitSearchMaxFilterTest, + Attribute::AllowPrimaryCredFallback, ]; let mut m = HashSet::with_capacity(attrs.len());