Added locales to principal API

This commit is contained in:
mdecimus
2025-06-25 12:33:10 +02:00
parent 9b2f687561
commit 4ce2dc5858
5 changed files with 32 additions and 3 deletions

View File

@@ -588,7 +588,8 @@ impl PrincipalManager for Server {
| PrincipalField::Members
| PrincipalField::Lists
| PrincipalField::Urls
| PrincipalField::ExternalMembers => (),
| PrincipalField::ExternalMembers
| PrincipalField::Locale => (),
PrincipalField::Tenant => {
// Tenants are not allowed to change their tenantId
if access_token.tenant.is_some() {