-
Notifications
You must be signed in to change notification settings - Fork 1.2k
List users by their authentication source #10115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@blueorangutan package |
|
@bernardodemarco a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10115 +/- ##
============================================
+ Coverage 16.06% 16.90% +0.84%
- Complexity 12864 12865 +1
============================================
Files 5642 5248 -394
Lines 493856 461509 -32347
Branches 59860 54150 -5710
============================================
- Hits 79326 78031 -1295
+ Misses 405749 374844 -30905
+ Partials 8781 8634 -147
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11823 |
|
@blueorangutan test keepEnv |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11926)
|
kiranchavala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bernardodemarco Tested manually looks great
One small/minor ui issue I observed.
On the initial saml user creation, the user type is created as Native only on the refresh of the page the usertype changes to SAML
Navigate to account >users > add user > Authorize saml > the usertype is Native
Sample video recording
https://www.loom.com/share/5d014a8763434e7f89ca21f95cf60377?sid=3cd60c4a-628b-4532-ba2d-cdb799f85a22
@kiranchavala, thanks for testing. The bug should be resolved now. Could you please test it again and confirm? |
|
@blueorangutan package |
|
@kiranchavala a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11846 |
JoaoJandre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLGTM
kiranchavala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bernardodemarco Issue is resolved |
Some changes from apache#10115 seems to be missing on main branch Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>






Description
Currently, the
listUsersAPI response supports theusersourceattribute, which represents the authentication source of users, such asnative,ldap,saml2andsaml2disabled. However, it is neither possible to filter users by their authentication source nor to view this attribute in the users' list view.Therefore, this PR proposes to extend the
listUsersAPI by introducing a new parameter calledusersource, allowing callers to filter users by their authentication source. Furthermore, the UI has been enhanced to support this parameter in the search view and display theusersourceattribute in the users' list view.Fixes #9932
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
How Has This Been Tested?
Through CloudMonkey
usersourceparameter is omitted.list users listall=true filter=account,username,usersourceusersourceparameter is specified.list users listall=true filter=account,username,usersource usersource="ldap"usersourcevalue is invalid.list users listall=true filter=account,username,usersource usersource="notValid"Through UI
usersourceis displayed in the users' list view:usersourcesearch filter works as expected: