#17097: Permission to delete a comment should be based on a user's given
permissions
----------------------------------+------------------------------------
Reporter: george@… | Owner: nobody
Type: New feature | Status: new
Component: contrib.comments | Version: 1.3
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------------------
Comment (by George Hickman <george@…>):
I've added a patch using !ModelAdmin.has_delete_permission() in
contrib.comments.admin.py and a couple of pretty basic tests for user's
permissions when set on a group. They'll need expanding though, as the
patch isn't tested yet (bit short on time right now) but hopefully that's
a start anyway.
--
Ticket URL: <https://code.djangoproject.com/ticket/17097#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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.