Changeset 16170 for main/waeup.kofa/trunk
- Timestamp:
- 19 Jul 2020, 20:31:19 (4 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r16169 r16170 4 4 1.6.1.dev0 (unreleased) 5 5 ======================= 6 7 * Add `DownloadTranscript` permission. 6 8 7 9 * Implement webservice `get_unpaid_payments`. -
main/waeup.kofa/trunk/docs/source/userdocs/security.rst
r15968 r16170 164 164 :noindex: 165 165 166 .. autoclass:: waeup.kofa.students.permissions.ViewTranscript() 167 :noindex: 168 169 .. autoclass:: waeup.kofa.students.permissions.DownloadTranscript() 170 :noindex: 171 172 .. autoclass:: waeup.kofa.students.permissions.ProcessTranscript() 173 :noindex: 174 175 .. autoclass:: waeup.kofa.students.permissions.SignTranscript() 176 :noindex: 177 166 178 Global Roles 167 179 ============ -
main/waeup.kofa/trunk/src/waeup/kofa/permissions.py
r15970 r16170 653 653 'waeup.exportData', 654 654 'waeup.viewTranscript', 655 'waeup.downloadTranscript', 655 656 'waeup.processTranscript', 656 657 'waeup.viewDocuments', 'waeup.manageDocuments', -
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.