Opened 18 years ago
Last modified 17 years ago
#7304 closed
AnonymousUser doesn't have has_perms() — at Version 2
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Trying to call has_perms() on the AnonymousUser results in the following error:
'AnonymousUser' object has no attribute 'has_perms'
has_perm() works as expected
The problem with this is that one cannot use has_perms() without first checking for the AnonymousUser.
Change History (3)
comment:1 by , 17 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
| Description: | modified (diff) |
|---|
by , 17 years ago
| Attachment: | 7304.patch added |
|---|
Note:
See TracTickets
for help on using tickets.