Allow updating secrets for all directory types

This commit is contained in:
mdecimus 2025-07-03 08:54:41 -04:00
parent a9fbfc2a8e
commit 0377cdb82e

View file

@ -574,10 +574,8 @@ impl PrincipalManager for Server {
// Validate changes // Validate changes
for change in &changes { for change in &changes {
match change.field { match change.field {
PrincipalField::Secrets => { PrincipalField::Secrets
self.assert_supported_directory(false)?; | PrincipalField::Name
}
PrincipalField::Name
| PrincipalField::Emails | PrincipalField::Emails
| PrincipalField::Quota | PrincipalField::Quota
| PrincipalField::UsedQuota | PrincipalField::UsedQuota