Ignore:
Timestamp:
21 Sep 2013, 06:05:36 (11 years ago)
Author:
Henrik Bettermann
Message:

Add permission for score editing.

File:
1 edited

Legend:

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

    r10465 r10632  
    5959    grok.name('waeup.showStudents')
    6060
     61class EditScores(grok.Permission):
     62    grok.name('waeup.editScores')
     63
    6164class EditUser(grok.Permission):
    6265    grok.name('waeup.editUser')
     
    223226    grok.title(u'Lecturer')
    224227    grok.permissions('waeup.showStudents',
     228                     'waeup.editScores',
    225229                     'waeup.viewAcademics',
    226230                     'waeup.exportData')
     
    301305                     'waeup.clearStudent', 'waeup.payStudent',
    302306                     'waeup.uploadStudentFile', 'waeup.showStudents',
     307                     'waeup.editScores',
    303308                     'waeup.triggerTransition',
    304309                     'waeup.viewStudentsContainer','waeup.viewStudentsTab',
     
    333338                     'waeup.clearStudent', 'waeup.payStudent',
    334339                     'waeup.uploadStudentFile', 'waeup.showStudents',
     340                     'waeup.editScores',
    335341                     #'waeup.triggerTransition',
    336342                     'waeup.viewStudentsContainer','waeup.viewStudentsTab',
Note: See TracChangeset for help on using the changeset viewer.