Opened 7 years ago
Last modified 5 years ago
#30348 closed New feature
Add superuser_required decorator — at Initial Version
| Reported by: | Sultan Iman | Owned by: | |
|---|---|---|---|
| Component: | contrib.auth | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
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
Note:
See TracTickets
for help on using tickets.