Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes #6881 - API users search fix #6882
Fixes the user search if not using auth. No login/user should be needed for user search. Adds integration tests to make sure logged in, logged in as admin, and not logged in all work, where the former shows emails unless queried user has made their email private, the 2nd shows all emails, latter shows no emails.
Also set in admin API.
Test using the swagger page.
@@ Coverage Diff @@ ## master #6882 +/- ## ========================================== + Coverage 41.33% 41.41% +0.08% ========================================== Files 432 432 Lines 59552 59552 ========================================== + Hits 24613 24666 +53 + Misses 31701 31646 -55 - Partials 3238 3240 +2