Code

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#848 closed defect (fixed)

authentication doc should be more clear on permission handling

Reported by: hugo Owned by: jacob
Component: Documentation Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 (0)

Change History (1)

comment:1 Changed 8 years ago by adrian

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

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.