Ticket #3039: 3039.diff

File 3039.diff, 824 bytes (added by James Bennett, 18 years ago)

Patch fixing the docs

  • docs/authentication.txt

     
    8686    myuser.groups.add(group, group,...)
    8787    myuser.groups.remove(group, group,...)
    8888    myuser.groups.clear()
    89     myuser.permissions = [permission_list]
    90     myuser.permissions.add(permission, permission, ...)
    91     myuser.permissions.remove(permission, permission, ...]
    92     myuser.permissions.clear()
     89    myuser.user_permissions = [permission_list]
     90    myuser.user_permissions.add(permission, permission, ...)
     91    myuser.user_permissions.remove(permission, permission, ...]
     92    myuser.user_permissions.clear()
    9393
    9494In addition to those automatic API methods, ``User`` objects have the following
    9595custom methods:
Back to Top