* finish task #5626.

This commit is contained in:
wangyidong
2019-06-03 11:52:54 +08:00
parent 6c721bb4cf
commit 67f21ea76e
3 changed files with 11 additions and 2 deletions
+1
View File
@@ -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;