- Timestamp:
- 29 Dec 2022, 09:15:31 (23 months ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r17177 r17253 4 4 1.7.2.dev0 (unreleased) 5 5 ======================= 6 7 * Add `AccommodationViewer` role. 6 8 7 9 * Allow students to book accommodation also if they are in previous -
main/waeup.kofa/trunk/docs/source/userdocs/security.rst
r16170 r17253 238 238 :noindex: 239 239 240 .. autoclass:: waeup.kofa.hostels.permissions.AccommodationViewer() 241 :noindex: 242 240 243 Global Applicants Section Roles 241 244 ------------------------------- -
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.