#29637: KeyError on empty_form.fields in InlineAdminFormSet when user don't have
'add' permission for the child model
-------------------------------------+-------------------------------------
     Reporter:  Clément Mangin       |                    Owner:  Clément
                                     |  Mangin
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.admin        |                  Version:  2.1
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  admin, permission,   |             Triage Stage:  Accepted
  inline                             |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"d7615674d98a067ed06bdf1924dc76223262938a" d761567]:
 {{{
 #!CommitTicketReference repository=""
 revision="d7615674d98a067ed06bdf1924dc76223262938a"
 [2.1.x] Fixed #29637 -- Fixed admin change form crash if the user doesn’t
 have the add permission to a TabularInline.

 Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.

 Backport of 64e1a271f50d921a54388539b6ff7102a31c3d29 from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29637#comment:10>
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/071.bf5d764e593909d076412dcb87318429%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to