mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-27 15:31:32 +00:00
OPTIONS should be available to someone with any of the read permissions.
This commit is contained in:
parent
0a7fcee0f0
commit
25e8519b4b
@ -13,7 +13,7 @@ dbg_error_log("OPTIONS", "method handler");
|
||||
include_once('DAVResource.php');
|
||||
$resource = new DAVResource($request->path);
|
||||
|
||||
$resource->NeedPrivilege( 'DAV::read' );
|
||||
$resource->NeedPrivilege( 'DAV::read', true );
|
||||
|
||||
if ( !$resource->Exists() ) {
|
||||
$request->DoResponse( 404, translate("No collection found at that location.") );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user