Django

Code

Ticket #6174 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

AnonymousUser.is_active should be False

Reported by: SmileyChris Assigned to: nobody
Milestone: Component: Contrib apps
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Attachments

anonymoususer.diff (1.0 kB) - added by SmileyChris on 12/10/07 18:09:56.
anonymoususer-docs.diff (0.6 kB) - added by Russell Cloran <russell@rucus.net> on 12/14/07 01:35:11.
Documentation update.

Change History

12/10/07 18:09:56 changed by SmileyChris

  • attachment anonymoususer.diff added.

12/10/07 18:10:16 changed by SmileyChris

  • needs_better_patch changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

12/11/07 00:38:11 changed by gwilson

  • status changed from new to closed.
  • resolution set to fixed.

Committed in [6912].

12/14/07 01:34:03 changed by Russell Cloran <russell@rucus.net>

  • status changed from closed to reopened.
  • resolution deleted.
  • stage changed from Ready for checkin to Accepted.

The documentation for this was missed.

Index: docs/authentication.txt

===================================================================

--- docs/authentication.txt (revision 6917)

+++ docs/authentication.txt (working copy)

@@ -248,7 +248,7 @@

  • id is always None.
  • is_staff and is_superuser are always False.

- * is_active is always True.

+ * is_active is always False.

  • groups and user_permissions are always empty.
  • is_anonymous() returns True instead of False.
  • is_authenticated() returns False instead of True.

12/14/07 01:35:11 changed by Russell Cloran <russell@rucus.net>

  • attachment anonymoususer-docs.diff added.

Documentation update.

12/14/07 03:49:46 changed by SmileyChris

  • stage changed from Accepted to Ready for checkin.

Good spottin, Russell.

12/17/07 01:04:32 changed by mtredinnick

  • status changed from reopened to closed.
  • resolution set to fixed.

Fixed in [6924]


Add/Change #6174 (AnonymousUser.is_active should be False)




Change Properties
Action