#18096: Overiding delete permissions in the Admin
-------------------------------+--------------------------------------
     Reporter:  anonymous      |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  contrib.admin  |                  Version:  1.4
     Severity:  Normal         |               Resolution:  needsinfo
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by anonymous):

 Yes this was a typo, has_delete_permission is the method. The default
 implementation calls opts.get_delete_permission(). The point that
 regardless of what you say in has_delete_permission the check in
 opt.get_delete_permission must pass otherwise the delete will not be
 allowed is still valid.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18096#comment:2>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to