Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#21727 closed Cleanup/optimization (fixed)

Add note about active superuser and permissions

Reported by: daGrevis Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Had some hard time finding out why my permission methods always did return True.

https://github.com/daGrevis/django/compare/django:master...master

Change History (4)

comment:1 by Tim Graham, 11 years ago

Easy pickings: set
Triage Stage: UnreviewedAccepted

As we discussed in IRC, I don't think it's such a surprising behavior that it needs a warning and I prefer to try to link together our docs rather than say the same thing in multiple places. For example in docs/topics/auth/default.txt we could add a link so that:

  "prompts you to create a superuser"

becomes:

  "prompts you to create a :attr:`superuser <django.contrib.auth.models.User.is_superuser>`".

Similar links for the is_staff flag would be helpful.

comment:3 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

In d35f2bfd5b3a73340275bbd2af5065cba8d42c97:

Fixed #21727 -- Added some links to help clarify topics/auth/default.txt

Thanks daGrevis for the suggestion.

comment:4 by Tim Graham <timograham@…>, 11 years ago

In b63dad3f452d8331d6e0372192a8ed2fcda23815:

[1.6.x] Fixed #21727 -- Added some links to help clarify topics/auth/default.txt

Thanks daGrevis for the suggestion.

Backport of d35f2bfd5b from master

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