#11383: Admin action 'Delete selected' check only global model delete permission
-------------------------------------+-------------------------------------
     Reporter:  krejcik@…            |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  contrib.admin        |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:  delete permission    |             Triage Stage:  Accepted
  admin                              |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by nonock):

 * cc: nonock (added)

Comment:

 Hi!

 This issue seems to be already fixed by this ticket:
 [https://code.djangoproject.com/ticket/23869] with the use of


 {{{
 if not admin_site.get_model_admin(model).has_delete_permission(
                 request, obj
             ):
 }}}

 inside of {{{get_deleted_objects}}} called by {{{delete_selected}}}.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/11383#comment:20>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019d9ff35dca-014b7d04-d808-4053-a2a4-5b669096e7b1-000000%40eu-central-1.amazonses.com.

Reply via email to