diff --git a/modules/examiner/php/addexaminer.class.inc b/modules/examiner/php/addexaminer.class.inc index 55edb751dde..9cacef33e66 100644 --- a/modules/examiner/php/addexaminer.class.inc +++ b/modules/examiner/php/addexaminer.class.inc @@ -68,13 +68,12 @@ class AddExaminer extends \NDB_Page $user = \User::singleton(); if (!$user->hasAnyPermission( [ - 'superuser', - 'examiner_multisite', + 'examiner_multisite' ] ) && !in_array($siteID, $user->getCenterIDs()) ) { - return new \LORIS\Http\Response\JSON\Conflict( + return new \LORIS\Http\Response\JSON\Forbidden( 'Permission denied: You cannot assign examiner to this Site.' ); };