#31747: Avoid potential admin model enumeration
-------------------------------+----------------------------------------
     Reporter:  Daniel Maxson  |                    Owner:  Jon Dufresne
         Type:  New feature    |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+----------------------------------------
Changes (by Carlton Gibson):

 * needs_better_patch:  0 => 1


Comment:

 There are various options on the PR to maintain the historic APPEND_SLASH
 behavior for the admin catchall view to only staff users, with options for
 exactly how we allow users to control that on a per ModelAdmin or per
 AdminSite basis.

 Spectrum of options would then be:

     Redirect only for staff. (Default.)
     Turn off per model admin overriding get_urls()
     Optionally: Turn off per model admin with flag &/or Turn off at Admin
 site with flag.
     Set APPEND_SLASH=False.

 All of which solve the problem of unauthenticated enumeration of existing
 models via URL admin redirect behavior, but don't require removing
 APPEND_SLASH itself.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31747#comment:8>
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/065.3f50ca3b4668aa6279fe767829b1702f%40djangoproject.com.

Reply via email to