feat(dav): Add show_deleted parameter to get_resource

Fixes #86
This commit is contained in:
Lennart
2025-06-23 16:43:46 +02:00
parent f9de8a4687
commit 6046439fc7
11 changed files with 24 additions and 9 deletions

View File

@@ -45,7 +45,7 @@ pub async fn route_delete<R: ResourceService>(
if_match: Option<IfMatch>,
if_none_match: Option<IfNoneMatch>,
) -> Result<(), R::Error> {
let resource = resource_service.get_resource(path_components).await?;
let resource = resource_service.get_resource(path_components, true).await?;
// Kind of a bodge since we don't get unbind from the parent
let privileges = resource.get_user_privileges(principal)?;