diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-02 12:10:01 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-02 12:10:01 +0000 |
commit | 610d783b61f3c3c7d19e6167df26368a7e8a0075 (patch) | |
tree | 53e302bba3a9820bb613130bb8526e003928e869 /lib | |
parent | f3b405856d99583bcd2f27c909abe779a48db512 (diff) | |
download | gitlab-ce-610d783b61f3c3c7d19e6167df26368a7e8a0075.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/projects.rb | 2 |
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? |