- Timestamp:
- 13 Nov 2014, 13:21:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/kofa/permissions.txt
r10639 r11947 29 29 30 30 >>> sorted(list(get_all_roles())) 31 [(u'waeup. ACManager', <waeup.kofa.permissions.ACManager object at 0x...]31 [(u'waeup.DataCenterManager', <waeup.kofa.permissions.DataCenterManager object at 0x...] 32 32 33 33 :func:`get_waeup_roles` … … 39 39 >>> from waeup.kofa.permissions import get_waeup_roles 40 40 >>> len(list(get_waeup_roles())) 41 2241 9 42 42 43 43 >>> len(list(get_waeup_roles(also_local=True))) 44 4244 10 45 45 46 46 … … 53 53 >>> from waeup.kofa.permissions import get_waeup_role_names 54 54 >>> list(get_waeup_role_names()) 55 [u'waeup.ACManager', 56 u'waeup.AcademicsManager', 57 u'waeup.AcademicsOfficer', 58 u'waeup.AccommodationOfficer', 59 u'waeup.Applicant', 60 u'waeup.ApplicationsManager', 61 u'waeup.ApplicationsOfficer', 62 u'waeup.BursaryOfficer', 63 u'waeup.DataCenterManager', 64 u'waeup.ExportManager', 65 u'waeup.ImportManager', 66 u'waeup.PortalManager', 67 u'waeup.Student', 68 u'waeup.StudentImpersonator', 69 u'waeup.StudentsClearanceOfficer', 70 u'waeup.StudentsCourseAdviser', 71 u'waeup.StudentsManager', 72 u'waeup.StudentsOfficer', 73 u'waeup.TranscriptOfficer', 74 u'waeup.UsersManager', 75 u'waeup.WorkflowManager', 76 u'waeup.xmlrpcusers1'] 55 [u'waeup.DataCenterManager', 56 u'waeup.ExportManager', 57 u'waeup.ImportManager', 58 u'waeup.PortalManager', 59 u'waeup.ProductsManager', 60 u'waeup.ProductsOfficer', 61 u'waeup.UsersManager', 62 u'waeup.WorkflowManager', 63 u'waeup.xmlrpcusers1'] 77 64 78 65 :func:`get_users_with_local_roles`
Note: See TracChangeset for help on using the changeset viewer.