Ignore:
Timestamp:
21 Oct 2014, 07:07:04 (10 years ago)
Author:
Henrik Bettermann
Message:

Add permission, page and button to mass-clear all students in a department.

File:
1 edited

Legend:

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

    r11673 r11862  
    5959    grok.name('waeup.showStudents')
    6060
     61class ClearAllStudents(grok.Permission):
     62    grok.name('waeup.clearAllStudents')
     63
    6164class EditScores(grok.Permission):
    6265    grok.name('waeup.editScores')
     
    128131    grok.permissions('waeup.showStudents',
    129132                     'waeup.viewAcademics',
    130                      'waeup.exportData')
     133                     'waeup.exportData',
     134                     'waeup.clearAllStudents')
    131135
    132136class LocalStudentsManager(grok.Role):
     
    158162    grok.permissions('waeup.showStudents',
    159163                     'waeup.viewAcademics',
    160                      'waeup.exportData')
     164                     'waeup.exportData',
     165                     'waeup.clearAllStudents')
    161166
    162167class PGClearanceOfficer(grok.Role):
     
    168173    grok.permissions('waeup.showStudents',
    169174                     'waeup.viewAcademics',
    170                      'waeup.exportData')
     175                     'waeup.exportData',
     176                     'waeup.clearAllStudents')
    171177
    172178class CourseAdviser100(grok.Role):
     
    336342                     'waeup.clearStudent', 'waeup.payStudent',
    337343                     'waeup.uploadStudentFile', 'waeup.showStudents',
     344                     'waeup.clearAllStudents',
    338345                     'waeup.editScores',
    339346                     'waeup.triggerTransition',
     
    369376                     'waeup.clearStudent', 'waeup.payStudent',
    370377                     'waeup.uploadStudentFile', 'waeup.showStudents',
     378                     'waeup.clearAllStudents',
    371379                     'waeup.editScores',
    372380                     #'waeup.triggerTransition',
Note: See TracChangeset for help on using the changeset viewer.