mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-30 18:37:12 +00:00
Re-Enable empty proxy reply, limit to principal
This commit is contained in:
parent
acf0eebecf
commit
9be2d838e5
@ -374,7 +374,7 @@ function add_proxy_response( &$responses, $which, $parent_path ) {
|
||||
} else if ( $which == "write" ) {
|
||||
$proxy_group = $request->principal->write_proxy_group;
|
||||
}
|
||||
if ( !isset($proxy_group) || !is_array($proxy_group) || count($proxy_group) < 1 ) {
|
||||
if ($parent_path != '/'.$request->principal->username.'/') {
|
||||
return; // Nothing to proxy for
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user