// Check if operation allowed by OLAT VFS security callback
DirContext resources = getResources(req);
VFSDirContext vfsContext = (VFSDirContext) resources;
String path = getRelativePath(req);
if (!vfsContext.canDelete(path)) {
resp.sendError(WebdavStatus.SC_FORBIDDEN);
return;
}
if (isLocked(req)) {