ACL method and reports

This commit is contained in:
mdecimus
2025-03-27 19:40:12 +01:00
parent 3f825aaafd
commit a5e6f77b26
24 changed files with 742 additions and 125 deletions

View File

@@ -14,6 +14,7 @@ pub struct DavConfig {
pub max_lock_timeout: u64,
pub max_locks_per_user: usize,
pub max_changes: usize,
pub max_match_results: usize,
}
impl DavConfig {
@@ -33,6 +34,9 @@ impl DavConfig {
.property("dav.limits.max-locks-per-user")
.unwrap_or(10),
max_changes: config.property("dav.limits.max-changes").unwrap_or(1000),
max_match_results: config
.property("dav.limits.max-match-results")
.unwrap_or(1000),
}
}
}