#34429: Allow to set unusable password via admin UI
---------------------------------+------------------------------------
     Reporter:  Tobias Bengfort  |                    Owner:  nobody
         Type:  New feature      |                   Status:  new
    Component:  contrib.auth     |                  Version:  dev
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

 * version:  4.1 => dev
 * stage:  Unreviewed => Accepted


Comment:

 Thanks for the ticket. I agree that it would nice to add an option to
 create users with an unusable password in the admin, however, any implicit
 logic can be confusing here (see
 [https://code.djangoproject.com/ticket/4170#comment:4 comment]).
 Therefore, I'm not in favor of your proposal to:
 > ''... make the password fields optional in the Admin UI and set an
 unusable password if they are blank.''

 Maybe a checkbox in the "Add user" form e.g. ''"Usable password"''
 (checked by default) that would hide password fields when unchecked 🤔, or
 sth similar.

 Tentatively accepted.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34429#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701870e064a9b-9915c56b-030c-4261-bab3-e815f684b745-000000%40eu-central-1.amazonses.com.

Reply via email to