Changeset 15453 for main/waeup.aaue/trunk/src/waeup
- Timestamp:
- 14 Jun 2019, 10:46:40 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r15451 r15453 1127 1127 score_editing_enabled = grok.getSite()[ 1128 1128 'configuration'][str(session)].score_editing_enabled 1129 if checkPermission('waeup.manageAcademics', self.context): 1130 score_editing_enabled = True 1129 1131 coursetickets_filtered = [courseticket 1130 1132 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) 1132 1136 and courseticket.total_score is not None 1133 1137 and courseticket.__parent__.__parent__.is_current]
Note: See TracChangeset for help on using the changeset viewer.