Opened 18 years ago
Closed 18 years ago
#3039 closed defect (fixed)
authentication docs myuser.permissions example wrong
Description ¶
The name of the user permissions member is 'user_permissions', not 'permissions' so the example code (around line 873) in docs/authentication.txt should be:
myuser.user_permissions = [permission_list] myuser.user_permissions.add(permission, permission, ...) myuser.user_permissions.remove(permission, permission, ...] myuser.user_permissions.clear()
Change History (3)
by , 18 years ago
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch fixing the docs