Ignore:
Timestamp:
14 May 2013, 03:58:14 (12 years ago)
Author:
Henrik Bettermann
Message:

Add exportData permission and role. Permission not yet used.

File:
1 edited

Legend:

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

    r10064 r10177  
    6868    grok.name('waeup.importData')
    6969
     70class ExportData(grok.Permission):
     71    grok.name('waeup.exportData')
     72
    7073class ManagePortalConfiguration(grok.Permission):
    7174    grok.name('waeup.managePortalConfiguration')
     
    208211    grok.permissions('waeup.manageDataCenter',
    209212                     'waeup.importData')
     213
     214class ExportManager(grok.Role):
     215    grok.name('waeup.ExportManager')
     216    grok.title(u'Export Manager')
     217    grok.permissions('waeup.manageDataCenter',
     218                     'waeup.exportData')
    210219
    211220class UsersManager(grok.Role):
     
    229238                     'waeup.manageDataCenter',
    230239                     'waeup.importData',
     240                     'waeup.exportData',
    231241                     'waeup.managePortalConfiguration', 'waeup.viewApplication',
    232242                     'waeup.manageApplication', 'waeup.handleApplication',
     
    258268                     'waeup.manageDataCenter',
    259269                     #'waeup.importData',
     270                     #'waeup.exportData',
    260271                     'waeup.managePortalConfiguration', 'waeup.viewApplication',
    261272                     'waeup.manageApplication', 'waeup.handleApplication',
Note: See TracChangeset for help on using the changeset viewer.