diff --git a/webservice/soap/classes/class.ilSoapRBACAdministration.php b/webservice/soap/classes/class.ilSoapRBACAdministration.php index caed38709c97..cbbac52b1367 100644 --- a/webservice/soap/classes/class.ilSoapRBACAdministration.php +++ b/webservice/soap/classes/class.ilSoapRBACAdministration.php @@ -115,12 +115,7 @@ public function addUserRoleEntry(string $sid, int $user_id, int $role_id) return $this->raiseError('Check access failed. No permission to assign users', 'Server'); } - if (!$rbacadmin->assignUser($role_id, $user_id)) { - return $this->raiseError( - 'Error rbacadmin->assignUser()', - 'Server' - ); - } + return true; }