Ignore:
Timestamp:
29 Dec 2022, 09:15:31 (21 months ago)
Author:
Henrik Bettermann
Message:

Add AccommodationViewer role.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/permissions.py

    r15279 r17253  
    5959                     'waeup.viewAcademics',
    6060                     'waeup.exportAccommodationData')
     61
     62class 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.