#6363: Bug with has_permission method of AdminSite class.
-------------------------------+------------------------------------------
Reporter: michelts | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: newforms-admin
Severity: Normal | Resolution:
Keywords: nfa-someday | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------------
Comment (by dgouldin):
It looks like the 2 problem spots now are:
https://github.com/django/django/blob/master/django/contrib/admin/views/decorators.py#L14
and
https://github.com/django/django/blob/master/django/contrib/admin/forms.py#L41
Both of these should be modified to use AdminSite.has_permission. *How*
that's to be done, I don't yet have any idea. ;-)
--
Ticket URL: <https://code.djangoproject.com/ticket/6363#comment:9>
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 https://groups.google.com/groups/opt_out.