dav: Implement some principal props for WebDAV ACL

This commit is contained in:
Lennart
2025-06-12 15:00:54 +02:00
parent 0c1c04d1cd
commit 7c73223877
5 changed files with 36 additions and 0 deletions

View File

@@ -108,6 +108,10 @@ impl User {
memberships.push(self.id.as_str());
memberships
}
pub fn memberships_without_self(&self) -> Vec<&str> {
self.memberships.iter().map(String::as_str).collect()
}
}
impl rustical_dav::Principal for User {