summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-02 12:10:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-02 12:10:01 +0000
commit610d783b61f3c3c7d19e6167df26368a7e8a0075 (patch)
tree53e302bba3a9820bb613130bb8526e003928e869 /lib
parentf3b405856d99583bcd2f27c909abe779a48db512 (diff)
downloadgitlab-ce-610d783b61f3c3c7d19e6167df26368a7e8a0075.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r--lib/api/projects.rb2
1 files changed, 1 insertions, 1 deletions
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?