Opened 16 years ago
Last modified 14 years ago
#13127 new New feature
Template tag "perms" doesn't support object level permission checking
| Reported by: | Dana Spiegel | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.auth | Version: | 1.2-beta |
| Severity: | Normal | Keywords: | |
| Cc: | tarkatronic@… | Triage Stage: | Accepted |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
This should be a quick fix, but the perms template tag doesn't allow the specification of an object in order to test for object level permissions.
{{ perms }} isn't a template tag -- it's an object put into the context by the PermWrapper context processor. However, the use case is valid.