Ignore:
Timestamp:
19 Dec 2019, 16:47:01 (5 years ago)
Author:
Henrik Bettermann
Message:

Add new accommodation officer role.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

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

    r15385 r15897  
    1818import grok
    1919from waeup.kofa.permissions import CCOfficer
     20from waeup.kofa.hostels.permissions import AccommodationOfficer
    2021
    2122
     
    2930    grok.name('waeup.CCOfficer')
    3031    grok.title(u'CC Officer')
     32
     33
     34class AAUEAccommodationOfficer(AccommodationOfficer):
     35    """
     36    This is basically a copy of the the AccommodationOfficer. We exclude some
     37    permissions by commenting them out.
     38    """
     39
     40    grok.name('waeup.AAUEAccommodationOfficer')
     41    grok.title(u'AAUE Accommodation Officer')
     42    grok.permissions('waeup.viewHostels',
     43                     #'waeup.manageHostels',
     44                     'waeup.showStudents',
     45                     'waeup.viewAcademics',
     46                     'waeup.exportAccommodationData')
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r15874 r15897  
    591591            'studylevelsoverview', 'combocard', 'bursary',
    592592            'levelreportdata',
    593             'studentoutstandingcourses')
     593            'studentoutstandingcourses',
     594            'sessionpaymentsoverview',
     595            'accommodationpayments')
Note: See TracChangeset for help on using the changeset viewer.