#6363: Login page is redisplayed without any message if 
AdminSite.has_permission()
returns False
-------------------------------------+-------------------------------------
     Reporter:  Michel Sabchuk       |                    Owner:  Iacopo
                                     |  Spalletti
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * keywords:  nfa-someday =>
 * version:  newforms-admin => master


Comment:

 This may be addressed by #25163 which added this message to the login page
 if `AdminSite.has_permission()` returns `False`:
  You are authenticated as <username>, but are not authorized to access
 this page. Would you like to login to a different account?

 I haven't checked if the previously proposed patches might be a further
 improvement.

--
Ticket URL: <https://code.djangoproject.com/ticket/6363#comment:15>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.a936d5dc3fc48853d905451105bfec48%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to