* finish task #5626.
This commit is contained in:
@@ -900,6 +900,7 @@ class docModel extends model
|
||||
if(!isset($libs[$object->lib]) and !isset($extraDocLibs[$object->lib])) return false;
|
||||
|
||||
if($object->acl == 'open' and !isset($extraDocLibs[$object->lib])) return true;
|
||||
if($object->acl == 'public' and !isset($extraDocLibs[$object->lib])) return true;
|
||||
|
||||
$account = ',' . $this->app->user->account . ',';
|
||||
if(isset($object->addedBy) and $object->addedBy == $this->app->user->account) return true;
|
||||
|
||||
Reference in New Issue
Block a user