Include LDAP blocked users in user dropdowns
What does this MR do and why?
We already include blocked users but ldap_blocked is a different state
that we also want to include.
This is a follow-up to !98582 (merged)
Related to https://gitlab.com/gitlab-com/sec-sub-department/section-sec-request-for-help/-/issues/361
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Mark a project user as LDAP blocked:
User.find_by_username('eric').ldap_block! - Visit the project's MR list and attempt to filter by assignee
- The user should still show up in the dropdown
Edited by Heinrich Lee Yu