Bug 42173 - The change password module should be integrated into the core
The change password module should be integrated into the core
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Change password
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Alexander Kläser
Jürn Brodersen
: interim-2
: 38901 (view as bug list)
Depends on: 42263 43594 44090
Blocks: 43610 43964
  Show dependency treegraph
 
Reported: 2016-08-29 17:34 CEST by Florian Best
Modified: 2017-04-04 18:29 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-08-29 17:34:16 CEST
The new menu in UMC should integrate the Change password module.
Comment 1 Florian Best univentionstaff 2016-09-13 13:26:29 CEST
*** Bug 38901 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Kläser univentionstaff 2017-02-23 03:56:59 CET
Fixed. The module now just provides a hook module which adds a menu entry. The password is changed via a dialog.

univention-management-console-module-passwordchange (2.0.2-2):
r77015 | Bug #42173: fix typos + clean up hook module
r76998 | Bug #42173: refactor passwordchange module as JavaScript hook
Comment 3 Alexander Kläser univentionstaff 2017-02-23 17:26:15 CET
The menu entries now react dynamically on the login state.

univention-management-console-module-passwordchange (2.0.2-3):
r77072 | Bug #42173: show menu entry depending on login state
Comment 4 Jürn Brodersen univentionstaff 2017-03-03 15:02:49 CET
"Change password" in the menu does not get translated.
related to bug 42263?
Comment 5 Alexander Kläser univentionstaff 2017-03-03 16:10:12 CET
(In reply to Jürn Brodersen from comment #4)
> "Change password" in the menu does not get translated.
> related to bug 42263?

I added the translations as well as the integration for l10n. We need to wait for Bug 43594 for the translations to be installed directly into the binary package.

univention-management-console-module-passwordchange (2.0.2-5):
r77336 | Bug #42173: add translations + l10n integration
Comment 6 Jürn Brodersen univentionstaff 2017-03-03 16:58:25 CET
Some minor stuff:
* Clicking on change password does not focus the password input field.
* I had an 8sec pause between changing the password and the success dialog, which was irritating ;)
* I think the menu should be closed after changing the password

What I tested:
* Change Password on master and slave
* The menu entry is only shown if logged in
Comment 7 Alexander Kläser univentionstaff 2017-03-08 15:19:07 CET
(In reply to Jürn Brodersen from comment #6)
> Some minor stuff:
> * Clicking on change password does not focus the password input field.

Fixed

> * I had an 8sec pause between changing the password and the success dialog,
>   which was irritating ;)

Hm... I did not have any problems so far.

> * I think the menu should be closed after changing the password

Fixed.

univention-web (1.0.31-14):
r77473 | Bug #42173: Focus first field in dialog.confirmForm() + return references

univention-management-console-module-passwordchange (2.0.2-6):
r77474 | Bug #42173: Close menu when launching password change dialog
Comment 8 Jürn Brodersen univentionstaff 2017-03-13 11:58:41 CET
(In reply to Alexander Kläser from comment #7)
> (In reply to Jürn Brodersen from comment #6)
> > Some minor stuff:
> > * Clicking on change password does not focus the password input field.
> 
> Fixed
> 
Works
> > * I had an 8sec pause between changing the password and the success dialog,
> >   which was irritating ;)
> 
> Hm... I did not have any problems so far.
> 
As discussed that is a problem in bigger domains and will not be fixed in the scope of this bug.
> > * I think the menu should be closed after changing the password
> 
> Fixed.
> 
Works
> univention-web (1.0.31-14):
> r77473 | Bug #42173: Focus first field in dialog.confirmForm() + return
> references
> 
> univention-management-console-module-passwordchange (2.0.2-6):
> r77474 | Bug #42173: Close menu when launching password change dialog

I noticed on more thing :)
If you have saved your password with chrome, chrome asks if you want to save the changed password for the user "X". Would it be possible to transmit the username as well, so chrome knows for which user the password was changed?
Comment 9 Alexander Kläser univentionstaff 2017-03-13 12:04:44 CET
(In reply to Jürn Brodersen from comment #8)
> I noticed on more thing :)
> If you have saved your password with chrome, chrome asks if you want to save
> the changed password for the user "X". Would it be possible to transmit the
> username as well, so chrome knows for which user the password was changed?

After the release if you open a new enhancement bug ;) ... but not now.
Comment 10 Florian Best univentionstaff 2017-03-13 12:12:57 CET
(In reply to Jürn Brodersen from comment #8)
> > > * I had an 8sec pause between changing the password and the success dialog,
> > >   which was irritating ;)
> > 
> > Hm... I did not have any problems so far.
> > 
> As discussed that is a problem in bigger domains and will not be fixed in
> the scope of this bug.
Hm, can't we just add a this.standbyDuring() arround the blockign thing like tools.umcpCommand()?!
Comment 11 Jürn Brodersen univentionstaff 2017-03-14 18:26:45 CET
(In reply to Florian Best from comment #10)
> (In reply to Jürn Brodersen from comment #8)
> > > > * I had an 8sec pause between changing the password and the success dialog,
> > > >   which was irritating ;)
> > > 
> > > Hm... I did not have any problems so far.
> > > 
> > As discussed that is a problem in bigger domains and will not be fixed in
> > the scope of this bug.
> Hm, can't we just add a this.standbyDuring() arround the blockign thing like
> tools.umcpCommand()?!

The dialog closes itself on submit, so there isn't really anything to overlay with the standby animation (besides the whole page).
Comment 12 Jürn Brodersen univentionstaff 2017-03-14 18:28:04 CET
Looks good. -> Verified :)

Note: The translations do not seem to work with our dev-build make target? The normal build is translated as expected.
Comment 13 Daniel Tröder univentionstaff 2017-03-27 14:40:50 CEST
The password change dialog does not honor the password policy.
Comment 14 Florian Best univentionstaff 2017-03-27 14:58:18 CEST
(In reply to Daniel Tröder from comment #13)
> The password change dialog does not honor the password policy.
Please create a new bug for this. Which password policy are you referring to?
Comment 15 Daniel Tröder univentionstaff 2017-03-27 17:07:52 CEST
(In reply to Florian Best from comment #14)
> (In reply to Daniel Tröder from comment #13)
> > The password change dialog does not honor the password policy.
> Please create a new bug for this. Which password policy are you referring to?
The default password policy → Bug #44090.
Comment 16 Stefan Gohmann univentionstaff 2017-04-04 18:29:12 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".