diff --git a/app/Containers/AppSection/Authorization/UI/API/Requests/AssignRolesToUserRequest.php b/app/Containers/AppSection/Authorization/UI/API/Requests/AssignRolesToUserRequest.php index 50c9be861..45294bf21 100644 --- a/app/Containers/AppSection/Authorization/UI/API/Requests/AssignRolesToUserRequest.php +++ b/app/Containers/AppSection/Authorization/UI/API/Requests/AssignRolesToUserRequest.php @@ -34,8 +34,7 @@ public function rules(): array { return [ 'roles_ids' => 'array|required', - 'roles_ids.*' => 'exists:' . config('permission.table_names.roles') . ',id', - 'user_id' => 'required|exists:users,id', + 'user_id' => 'required', ]; }