Django

Code

Ticket #848 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

authentication doc should be more clear on permission handling

Reported by: hugo Assigned to: jacob
Milestone: Component: Documentation
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The authentication doc should state clearly that permissions are "app_label.permission" - this is only grokkable from the samples. Additionally the difference between is_staff and is_superuser should be made more clear (is_staff can login to the admin, is_superuser has all permissions without explicitly assigning them). And the python 2.3 code for using user_passes_test is missing - and because it's a parameterized decorator, the python 2.3 syntax might not be immediatly obvious to newcomers.

Attachments

Change History

11/20/05 10:35:45 changed by adrian

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

(In [1302]) Fixed #848 -- Made auth docs more clear on permission handling.


Add/Change #848 (authentication doc should be more clear on permission handling)




Change Properties
Action