Opened 16 years ago

Closed 16 years ago

#6174 closed (fixed)

AnonymousUser.is_active should be False

Reported by: Chris Beaven Owned by: nobody
Component: Contrib apps Version: dev
Severity: Keywords:
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

Attachments (2)

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

Download all attachments as: .zip

Change History (7)

by Chris Beaven, 16 years ago

Attachment: anonymoususer.diff added

comment:1 by Chris Beaven, 16 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:2 by Gary Wilson, 16 years ago

Resolution: fixed
Status: newclosed

Committed in [6912].

comment:3 by Russell Cloran <russell@…>, 16 years ago

Resolution: fixed
Status: closedreopened
Triage Stage: Ready for checkinAccepted

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.

by Russell Cloran <russell@…>, 16 years ago

Attachment: anonymoususer-docs.diff added

Documentation update.

comment:4 by Chris Beaven, 16 years ago

Triage Stage: AcceptedReady for checkin

Good spottin, Russell.

comment:5 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in [6924]

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