Changeset 6960 for main/waeup.sirp/trunk
- Timestamp:
- 27 Oct 2011, 10:31:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/permissions.txt
r6677 r6960 29 29 30 30 >>> sorted(list(getRoles())) 31 [(u'waeup.A pplicationsOfficer', <waeup.sirp.applicants.permissions.ApplicationsOfficer object at 0x...>),...]31 [(u'waeup.AccommodationOfficer', <waeup.sirp.hostels.permissions.AccommodationOfficer object at 0x...] 32 32 33 33 :func:`getWAeUPRoles` … … 39 39 >>> from waeup.sirp.permissions import getWAeUPRoles 40 40 >>> len(list(getWAeUPRoles())) 41 541 6 42 42 43 43 >>> len(list(getWAeUPRoles(also_local=True))) 44 1 044 11 45 45 46 46 … … 53 53 >>> from waeup.sirp.permissions import getWAeUPRoleNames 54 54 >>> list(getWAeUPRoleNames()) 55 [u'waeup.A pplicationsOfficer', u'waeup.PortalManager',55 [u'waeup.AccommodationOfficer', u'waeup.ApplicationsOfficer', u'waeup.PortalManager', 56 56 u'waeup.PortalUser', u'waeup.Student', u'waeup.StudentsOfficer'] 57 57
Note: See TracChangeset for help on using the changeset viewer.