Changeset 8565 for main


Ignore:
Timestamp:
30 May 2012, 20:05:07 (12 years ago)
Author:
Henrik Bettermann
Message:

Add ViewApplicationStatistics?.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

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

    r8563 r8565  
    291291    grok.context(IApplicantsContainer)
    292292    grok.name('statistics')
    293     grok.require('waeup.manageApplication')
     293    grok.require('waeup.viewApplicationStatistics')
    294294    grok.template('applicantcontainerstatistics')
    295295
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/permissions.py

    r8367 r8565  
    3838    grok.name('waeup.manageApplication')
    3939
     40class ViewApplicationStatistics(grok.Permission):
     41    grok.name('waeup.viewApplicationStatistics')
     42
    4043class PayApplicant(grok.Permission):
    4144    grok.name('waeup.payApplicant')
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r8563 r8565  
    112112    grok.context(IApplicantsContainer)
    113113    grok.view(ApplicantsContainerManageFormPage)
    114     grok.require('waeup.manageApplication')
     114    grok.require('waeup.viewApplicationStatistics')
    115115    icon = 'actionicon_statistics.png'
    116116    text = _('Container statistics')
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.py

    r8399 r8565  
    184184                     'waeup.manageApplication', 'waeup.handleApplication',
    185185                     'waeup.viewApplicantsTab', 'waeup.payApplicant',
     186                     'waeup.viewApplicationStatistics',
    186187                     'waeup.viewStudent', 'waeup.manageStudent',
    187188                     'waeup.clearStudent', 'waeup.payStudent',
Note: See TracChangeset for help on using the changeset viewer.