mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-03 14:09:23 +00:00
Allow shared / read locks as well as exclusive / write.
This commit is contained in:
parent
51ab4797aa
commit
b38dfb190e
@ -48,6 +48,7 @@ foreach( $request->xml_tags AS $k => $v ) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 'DAV::SHARED':
|
||||
case 'DAV::EXCLUSIVE':
|
||||
dbg_error_log( "LOCK", ":Request: %s -> %s", $v['type'], $tag );
|
||||
if ( $inside['DAV::LOCKSCOPE'] && $v['type'] == "complete" ) {
|
||||
@ -55,7 +56,7 @@ foreach( $request->xml_tags AS $k => $v ) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 'DAV::WRITE':
|
||||
case 'DAV::READ':
|
||||
dbg_error_log( "LOCK", ":Request: %s -> %s", $v['type'], $tag );
|
||||
if ( $inside['DAV::LOCKTYPE'] && $v['type'] == "complete" ) {
|
||||
$locktype = strtolower(substr($tag,5));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user