Merge branch 'master' of https://github.com/easysoft/zentaopms
This commit is contained in:
@@ -1363,7 +1363,7 @@ EOD;
|
||||
if(strpos(",{$limitedProjects},", ",$objectID,") !== false) $limitedProject = true;
|
||||
if(empty($app->user->rights['rights']['my']['limited']) && !$limitedProject) return true;
|
||||
}
|
||||
|
||||
if(empty($app->user->rights['rights']['my']['limited'])) return true;
|
||||
|
||||
if(!is_null($method) && strpos($method, 'batch') === 0) return false;
|
||||
if(!is_null($method) && strpos($method, 'link') === 0) return false;
|
||||
|
||||
Reference in New Issue
Block a user