OPTIONS should be available to someone with any of the read permissions.

This commit is contained in:
Andrew McMillan 2010-08-24 14:44:41 +12:00
parent 0a7fcee0f0
commit 25e8519b4b

View File

@ -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.") );