Searching commits, author drop down should include all authors who ever committed to the repo.
Summary
We have a colleague who has since moved on to another company, he has been removed from the system. But I would like to filter by him as an Author on our git commit history through the UI. Instead I have to hack the URL. http://gitlab.com/groupname/projectname/-/commits/master?author=excolleague%20name, or, http://gitlab.com/groupname/projectname/-/commits/master?author=UserA
Steps to reproduce
- Create a commit on a repository as User A
- Updated User A to be a "blocked user"
- Try to search commits by Author on the commits page i.e. http://gitlab.com/groupname/projectname/-/commits/master
Result: That user is not in the drop down, but is shown when you hack the URL (see below)
Example Project
Not possible
What is the current bug behavior?
You don't see the blocked user in the drop down and can't search for them However you can hack the URL with "?author=UserA" in order to filter commits that way
What is the expected correct behavior?
Even blocked users can be used with the author filter on commits
Relevant logs and/or screenshots
Output of checks
n/a
Results of GitLab environment info
GitLab Enterprise Edition 14.9.3-ee
Results of GitLab application Check
unknown
Possible fixes
The dropdown is populated by a list of all committers to the repo, without excluding "blocked users" (if that is what's happening now)
Failing that, provide an advanced search/filter option which can manually enter the user name or ID like I did in the URL.
