Skip to content
代码片段 群组 项目
未验证 提交 ae7620b3 编辑于 作者: Luke Duncalfe's avatar Luke Duncalfe 提交者: GitLab
浏览文件

Add filtering active and human users in GraphQL

Adds filtering of the `users` GraphQL field to by human users
and active users, through new optional `active: BOOLEAN` and
`human: BOOLEAN` arguments.

When the arguments are not provided the field will return the same users
as it does currently.

`UsersFinder` has been updated to allow:

- Scoping humans `humans: true`
- Scoping non-humans `without_humans: true`
- Scoping non-active users `without_active: true`

`/users` REST API endpoint has been updated to support the new users
finder params.

This work is to allows returning only active human users within a
user mapping search.

https://gitlab.com/gitlab-org/gitlab/-/issues/471933

Changelog: added
上级 4ea61b62
No related branches found
No related tags found
加载中
显示
253 个添加28 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册