[wp-trac] [WordPress Trac] #24633: Allow admins to generate and send new passwords for users

WordPress Trac noreply at wordpress.org
Wed Jan 28 12:33:23 UTC 2015


#24633: Allow admins to generate and send new passwords for users
-------------------------------------+-------------------------------------
 Reporter:  mordauk                  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.2
Component:  Users                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript,
  dev-feedback 4.2-early             |  administration
-------------------------------------+-------------------------------------

Comment (by DrewAPicture):

 I had a chance to chat with Pippin (@mordauk) about this a little bit last
 week and I think we both agree that this task may be best served by
 approaching the password generation functionality as something that should
 be developed in a standalone way.

 The thinking is that if we abstract out the password generation
 functionality, we can design it in such a way that it could easily be
 reused in several different areas of core. For the sake of completeness, I
 envision those areas would include:

 * user-edit – Generating passwords when editing a user profile
 * user-new – Generating passwords when creating a new user
 * password reset – Generating passwords when resetting a password
 * installation – Generating passwords when creating the initial account on
 installation

 As for the interaction stuff related to sending passwords to a user and/or
 recommending they change passwords on first login, I think those should be
 handled separately. If we really want to have a win here, we need
 something stable and reusable.

 To that end, I'm not sure that necessarily supporting things like Lastpass
 and all the UI things that come along with it would be necessary to get to
 a minimum viable product. We'd also probably want to consider whether the
 password meter UI would be useful in these other contexts as well, but
 that's probably also a separate ticket.

 Next Steps

 I think the next step here would be to take the latest patch and break out
 the generation code to a point where you could simply point it at a group
 of selectors, e.g. button, first password, second password, and it would
 just work.

 On top of that, we need to be cognizant of the mobile and accessibility
 implications that come along with the introduction of any kind of new core
 UI, so getting a consult from those teams would be a good step too.

 There's some work yet to do here, but I think we could really get a great
 feature out of this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24633#comment:76>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list