Changeset 16170 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 19 Jul 2020, 20:31:19 (4 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r16120 r16170 1441 1441 grok.context(IStudentStudyCourse) 1442 1442 grok.name('transcript.pdf') 1443 grok.require('waeup. viewTranscript')1443 grok.require('waeup.downloadTranscript') 1444 1444 prefix = 'form' 1445 1445 omit_fields = ( -
main/waeup.kofa/trunk/src/waeup/kofa/students/permissions.py
r15606 r16170 94 94 95 95 class ViewTranscript(grok.Permission): 96 """The ViewTranscript role is needed to view transcript pages and slips.96 """The ViewTranscript role is needed to view transcript pages. 97 97 """ 98 98 grok.name('waeup.viewTranscript') 99 100 class DownloadTranscript(grok.Permission): 101 """The DownloadTranscript role is needed to download transcript slips. 102 """ 103 grok.name('waeup.downloadTranscript') 99 104 100 105 class ProcessTranscript(grok.Permission): … … 173 178 grok.permissions('waeup.viewAcademics', 174 179 'waeup.viewTranscript', 180 'waeup.downloadTranscript', 175 181 'waeup.processTranscript', 176 182 'waeup.viewStudent', -
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r16120 r16170 807 807 grok.context(IStudentStudyCourse) 808 808 grok.view(StudyCourseTranscriptPage) 809 grok.require('waeup. viewTranscript')809 grok.require('waeup.downloadTranscript') 810 810 text = _('Academic Transcript') 811 811 target = 'transcript.pdf'
Note: See TracChangeset for help on using the changeset viewer.