Changeset 17253 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 29 Dec 2022, 09:15:31 (23 months ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/doctests/permissions.txt
r15968 r17253 39 39 >>> from waeup.kofa.permissions import get_waeup_roles 40 40 >>> len(list(get_waeup_roles())) 41 2941 30 42 42 43 43 >>> len(list(get_waeup_roles(also_local=True))) 44 5 444 55 45 45 46 46 … … 57 57 u'waeup.AcademicsOfficer', 58 58 u'waeup.AccommodationOfficer', 59 u'waeup.AccommodationViewer', 59 60 u'waeup.Applicant', 60 61 u'waeup.ApplicationsManager', -
main/waeup.kofa/trunk/src/waeup/kofa/hostels/permissions.py
r15279 r17253 59 59 'waeup.viewAcademics', 60 60 'waeup.exportAccommodationData') 61 62 class AccommodationViewer(grok.Role): 63 """Accommodation Viewers can view but not manage hostels. They can also export 64 student accommodation data (filtered payment tickets and bed tickets). 65 They can't access the Data Center but see student data export buttons 66 in the Academic Section. 67 """ 68 grok.name('waeup.AccommodationViewer') 69 grok.title(u'Accommodation Viewer') 70 grok.permissions('waeup.viewHostels', 71 'waeup.showStudents', 72 'waeup.viewAcademics', 73 'waeup.exportAccommodationData')
Note: See TracChangeset for help on using the changeset viewer.