caldav: Fix principal collection permissions

This commit is contained in:
Lennart
2025-07-23 11:28:14 +02:00
parent 44912057fc
commit 0ef3e19bd3

View File

@@ -121,7 +121,7 @@ impl Resource for PrincipalResource {
}
fn get_user_privileges(&self, user: &Principal) -> Result<UserPrivilegeSet, Self::Error> {
Ok(UserPrivilegeSet::owner_read(
Ok(UserPrivilegeSet::owner_only(
user.is_principal(&self.principal.id),
))
}