[UI] Allow change password for native users only.#12584
[UI] Allow change password for native users only.#12584sureshanaparti wants to merge 3 commits intoapache:4.20from
Conversation
|
@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
@DaanHoogland moving to draft based on your comment here - #12581 (comment) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.20 #12584 +/- ##
============================================
- Coverage 16.26% 16.26% -0.01%
Complexity 13428 13428
============================================
Files 5660 5661 +1
Lines 499963 500011 +48
Branches 60708 60715 +7
============================================
+ Hits 81330 81331 +1
- Misses 409559 409607 +48
+ Partials 9074 9073 -1
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:
|
|
UI build: ✔️ |
There was a problem hiding this comment.
clgtm, but I have questions about the functionality. As this fixes a bug atm (NPE when tried) I think we can go ahead. Users/operators will have to define how a broken or removed link of an authenticator should be handled. E.G. invalidate/regenerate PW or disable account. I could imagine this should be configurable in which case we can revert this condition.
We can also remove the need to be a native account now, and fix the NPE.
< @sureshanaparti >
updated @DaanHoogland it also checks for admin, domain admin account or the same user to change the password. |
|
@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
We should have kept password change only for "native" users. As of now we throw exception whenever password change is done from UI. In my opinion it should be hidden if capability is not supported for SAML/LDAP users. |
Shall I keep it for native users only? @DaanHoogland @kiranchavala |


Description
This PR allows change password for native users only from UI.
Fixes #12581
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested with the users form with native, ldap, saml users.
How did you try to break this feature and the system with this change?