Opened 8 years ago

Closed 8 years ago

#6174 closed (fixed)

AnonymousUser.is_active should be False

Reported by: SmileyChris Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Attachments (2)

anonymoususer.diff (988 bytes) - added by SmileyChris 8 years ago.
anonymoususer-docs.diff (571 bytes) - added by Russell Cloran <russell@…> 8 years ago.
Documentation update.

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by SmileyChris

comment:1 Changed 8 years ago by SmileyChris

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 8 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to closed

Committed in [6912].

comment:3 Changed 8 years ago by Russell Cloran <russell@…>

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Triage 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.

Changed 8 years ago by Russell Cloran <russell@…>

Documentation update.

comment:4 Changed 8 years ago by SmileyChris

  • Triage Stage changed from Accepted to Ready for checkin

Good spottin, Russell.

comment:5 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in [6924]

Note: See TracTickets for help on using tickets.
Back to Top