From 610d783b61f3c3c7d19e6167df26368a7e8a0075 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 2 May 2022 12:10:01 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- lib/api/projects.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 28d6bfb1858..d76e3a7df3f 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -663,7 +663,7 @@ module API optional :skip_users, type: Array[Integer], coerce_with: ::API::Validations::Types::CommaSeparatedToIntegerArray.coerce, desc: 'Filter out users with the specified IDs' use :pagination end - get ':id/users', feature_category: :authentication_and_authorization do + get ':id/users', urgency: :low, feature_category: :authentication_and_authorization do users = DeclarativePolicy.subject_scope { user_project.team.users } users = users.search(params[:search]) if params[:search].present? users = users.where_not_in(params[:skip_users]) if params[:skip_users].present? -- cgit v1.2.1