assignment permission: allow empty for api user, multiple
This commit is contained in:
@@ -645,7 +645,7 @@ class Record extends \Espo\Core\Services\Base
|
||||
|
||||
if ($toProcess) {
|
||||
if (empty($userIdList)) {
|
||||
if ($assignmentPermission == 'no') {
|
||||
if ($assignmentPermission == 'no' && !$this->getUser()->isApi()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user