Ignore:
Timestamp:
30 Jan 2013, 08:58:37 (12 years ago)
Author:
Henrik Bettermann
Message:

Add new permission waeup.editStudyLevel to allow course advisers to edit study levels after rejection.

Improve logging. Creation and deletion of course tickets is now properly logged.

File:
1 edited

Legend:

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

    r9335 r9924  
    5656    grok.name('waeup.validateStudent')
    5757
     58class EditStudyLevel(grok.Permission):
     59    grok.name('waeup.editStudyLevel')
     60
    5861class TriggerTransition(grok.Permission):
    5962    grok.name('waeup.triggerTransition')
     
    6871    grok.permissions('waeup.handleStudent', 'waeup.uploadStudentFile',
    6972                     'waeup.viewStudent', 'waeup.payStudent',
    70                      'waeup.handleAccommodation')
     73                     'waeup.handleAccommodation', 'waeup.editStudyLevel')
    7174
    7275# Site Roles
     
    98101    grok.name('waeup.StudentsCourseAdviser')
    99102    grok.title(u'Course Adviser (all students)')
    100     grok.permissions('waeup.validateStudent','waeup.viewStudent')
     103    grok.permissions('waeup.validateStudent','waeup.viewStudent',
     104                     'waeup.editStudyLevel')
    101105
    102106class StudentImpersonator(grok.Role):
Note: See TracChangeset for help on using the changeset viewer.