#14795 closed (fixed)
Empty Superuser Permissions
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
Severity: | Keywords: | sprintdec2010, superuser, permissions | |
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
The following:
user.get_all_permissions()
Returns an empty set for a superuser without any explicitly stated permissions.
Based on the definition on the admin page, a superuser has all permissions, implicitly.
Adding an explicit permission however does show up.
Thanks.
Attachments (2)
Change History (10)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Keywords: | sprintdec2010 added |
---|---|
Needs documentation: | set |
Needs tests: | set |
Owner: | changed from | to
Patch needs improvement: | set |
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
by , 14 years ago
Attachment: | ticket14795patch.diff added |
---|
comment:3 by , 14 years ago
Has patch: | set |
---|---|
Needs documentation: | unset |
by , 14 years ago
Attachment: | ticket14795test.diff added |
---|
comment:4 by , 14 years ago
milestone: | → 1.3 |
---|---|
Needs tests: | unset |
Patch needs improvement: | unset |
Version: | 1.3-alpha → SVN |
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 by , 14 years ago
comment:7 by , 14 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
However
works despite the set not populating.