#12557: AnonymousUser has_perm should check backends has_perm
-------------------------------------+--------------------------------------
Reporter: hvdklauw | Owner: nobody
Status: new | Milestone: 1.2
Component: Authentication | Version: SVN
Resolution: | Keywords: has_perm AnonymousUser
Stage: Unreviewed | Has_patch: 1
Needs_docs: 1 | Needs_tests: 1
Needs_better_patch: 1 |
-------------------------------------+--------------------------------------
Changes (by hvdklauw):
* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
* needs_docs: 0 => 1
Comment:
Finally got the diff correct (stupid bug in svn :S)
Anyway.. I think this will make the whole permission system even more
powerful, it will allow backends to implement anonymous permissions.
The documentation should reflect this change too, because custom backends
shouldn't assume the user is a valid logged in user.
--
Ticket URL: <http://code.djangoproject.com/ticket/12557#comment:2>
Django <http://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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.