#30348: Add superuser_required decorator
------------------------------+--------------------------------------
Reporter: Sultan Iman | Owner: nobody
Type: New feature | Status: new
Component: contrib.auth | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Description changed by Sultan Iman:
Old description:
> Create a new decorator **superuser_required** which has use cases when
> only super users can access certain views.
> Github PR is at https://github.com/django/django/pull/10640
New description:
Create a new decorator **superuser_required** and
**SuperuserRequiredMixin** which has use cases when only super users can
access certain views.
Github PR is at https://github.com/django/django/pull/10640
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30348#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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.d1701f7c708a577b407c48795345d311%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.