summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-15 18:01:29 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-15 18:01:29 +0000
commit388182b62299e063f843b0157e510a4021f7acfd (patch)
tree37b61e7c043acb0c1712c28109f5073a3ecc8e85 /docs
parent4f87e34315eef2d6f799afa32d99e4ee8d6c6cc5 (diff)
Fixed #3032 -- Added some useful methods and attributes so that AnonymousUser can proxy for a User a bit more logically. Patch from semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/authentication.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/authentication.txt b/docs/authentication.txt
index 907b72e44a..713e86c140 100644
--- a/docs/authentication.txt
+++ b/docs/authentication.txt
@@ -244,6 +244,9 @@ Anonymous users
the ``django.contrib.auth.models.User`` interface, with these differences:
* ``id`` is always ``None``.
+ * ``is_staff`` and ``is_superuser`` are always False.
+ * ``is_active`` is always True.
+ * ``groups`` and ``user_permissions`` are always empty.
* ``is_anonymous()`` returns ``True`` instead of ``False``.
* ``is_authenticated()`` returns ``False`` instead of ``True``.
* ``has_perm()`` always returns ``False``.