Opened 11 years ago

Closed 11 years ago

#6174 closed (fixed)

AnonymousUser.is_active should be False

Reported by: Chris Beaven 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: no UI/UX: no

Attachments (2)

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

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by Chris Beaven

Attachment: anonymoususer.diff added

comment:1 Changed 11 years ago by Chris Beaven

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 11 years ago by Gary Wilson

Resolution: fixed
Status: newclosed

Committed in [6912].

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

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.

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

Attachment: anonymoususer-docs.diff added

Documentation update.

comment:4 Changed 11 years ago by Chris Beaven

Triage Stage: AcceptedReady for checkin

Good spottin, Russell.

comment:5 Changed 11 years ago by Malcolm Tredinnick

Resolution: fixed
Status: reopenedclosed

Fixed in [6924]

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