mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
allow users to access a document which has been locked by herself
This commit is contained in:
parent
97d3a8bce3
commit
715410e437
|
@ -1003,7 +1003,7 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
|
|||
return false;
|
||||
}
|
||||
|
||||
if($obj->isLocked()) {
|
||||
if($obj->isLocked() && $this->user->getLogin() != $obj->getLockingUser()->getLogin()) {
|
||||
$lockuser = $obj->getLockingUser();
|
||||
if($this->logger)
|
||||
$this->logger->log('checkLock: object is locked by '.$lockuser->getLogin(), PEAR_LOG_INFO);
|
||||
|
|
Loading…
Reference in New Issue
Block a user