Ignore:
Timestamp:
14 Jun 2019, 10:46:40 (5 years ago)
Author:
Henrik Bettermann
Message:

Allow academics managers to print results even if score editing is disabled.

File:
1 edited

Legend:

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

    r15451 r15453  
    11271127            score_editing_enabled = grok.getSite()[
    11281128                'configuration'][str(session)].score_editing_enabled
     1129            if checkPermission('waeup.manageAcademics', self.context):
     1130                score_editing_enabled = True
    11291131            coursetickets_filtered = [courseticket
    11301132                for courseticket in coursetickets
    1131                 if courseticket.student.current_mode in score_editing_enabled
     1133                if (not checkPermission('waeup.manageAcademics', self.context)
     1134                    or courseticket.student.current_mode in
     1135                        score_editing_enabled)
    11321136                and courseticket.total_score is not None
    11331137                and courseticket.__parent__.__parent__.is_current]
Note: See TracChangeset for help on using the changeset viewer.