mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Logging addition, comment removal.
This commit is contained in:
parent
e01215c5c4
commit
541525919f
@ -600,17 +600,11 @@ EOQRY;
|
||||
}
|
||||
|
||||
$this->privileges = $this->collection->path_privs;
|
||||
/* if ( ! $this->exists && isset($this->collection) ) {
|
||||
// $this->collection->path_privs = $this->parent->Privileges();
|
||||
$this->collection->user_no = $this->parent->GetProperty('user_no');
|
||||
$this->collection->principal_id = $this->parent->GetProperty('principal_id');
|
||||
}
|
||||
if ( $this->IsCollection() ) {
|
||||
$this->privileges = $this->collection->path_privs;
|
||||
}
|
||||
*/
|
||||
if ( is_string($this->privileges) ) $this->privileges = bindec( $this->privileges );
|
||||
|
||||
dbg_error_log( 'DAVResource', 'Privileges of "%s" for user "%s" accessing "%s"',
|
||||
decbin($this->privileges), $session->username, $this->dav_name() );
|
||||
|
||||
if ( isset($request->ticket) && $request->ticket->MatchesPath($this->bound_from()) ) {
|
||||
$this->privileges |= $request->ticket->privileges();
|
||||
dbg_error_log( 'DAVResource', 'Applying permissions for ticket "%s" now: %s', $request->ticket->id(), decbin($this->privileges) );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user