Changeset 6960


Ignore:
Timestamp:
27 Oct 2011, 10:31:08 (13 years ago)
Author:
Henrik Bettermann
Message:

Add global role 'waeup.AccommodationOfficer?'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/permissions.txt

    r6677 r6960  
    2929
    3030    >>> sorted(list(getRoles()))
    31     [(u'waeup.ApplicationsOfficer', <waeup.sirp.applicants.permissions.ApplicationsOfficer object at 0x...>), ...]
     31    [(u'waeup.AccommodationOfficer', <waeup.sirp.hostels.permissions.AccommodationOfficer object at 0x...]
    3232
    3333:func:`getWAeUPRoles`
     
    3939    >>> from waeup.sirp.permissions import getWAeUPRoles
    4040    >>> len(list(getWAeUPRoles()))
    41     5
     41    6
    4242
    4343    >>> len(list(getWAeUPRoles(also_local=True)))
    44     10
     44    11
    4545
    4646
     
    5353    >>> from waeup.sirp.permissions import getWAeUPRoleNames
    5454    >>> list(getWAeUPRoleNames())
    55     [u'waeup.ApplicationsOfficer', u'waeup.PortalManager',
     55    [u'waeup.AccommodationOfficer', u'waeup.ApplicationsOfficer', u'waeup.PortalManager',
    5656     u'waeup.PortalUser', u'waeup.Student', u'waeup.StudentsOfficer']
    5757
Note: See TracChangeset for help on using the changeset viewer.