#18600: group_required decorator
-------------------------------------+-------------------------------------
Reporter: daniel.walz@… | Owner: nobody
Type: New feature | Status: closed
Component: contrib.auth | Version: 1.4
Severity: Normal | Resolution:
Keywords: group authorization | worksforme
Has patch: 1 | Triage Stage:
Needs tests: 0 | Unreviewed
Easy pickings: 1 | Needs documentation: 0
| Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0
Comment:
The expected way to achieve this is to define a custom permission, give it
to your group and use `@permission_required`.
--
Ticket URL: <https://code.djangoproject.com/ticket/18600#comment:1>
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.