Changeset 10177 for main/waeup.kofa/trunk
- Timestamp:
- 14 May 2013, 03:58:14 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/permissions.py
r10064 r10177 68 68 grok.name('waeup.importData') 69 69 70 class ExportData(grok.Permission): 71 grok.name('waeup.exportData') 72 70 73 class ManagePortalConfiguration(grok.Permission): 71 74 grok.name('waeup.managePortalConfiguration') … … 208 211 grok.permissions('waeup.manageDataCenter', 209 212 'waeup.importData') 213 214 class ExportManager(grok.Role): 215 grok.name('waeup.ExportManager') 216 grok.title(u'Export Manager') 217 grok.permissions('waeup.manageDataCenter', 218 'waeup.exportData') 210 219 211 220 class UsersManager(grok.Role): … … 229 238 'waeup.manageDataCenter', 230 239 'waeup.importData', 240 'waeup.exportData', 231 241 'waeup.managePortalConfiguration', 'waeup.viewApplication', 232 242 'waeup.manageApplication', 'waeup.handleApplication', … … 258 268 'waeup.manageDataCenter', 259 269 #'waeup.importData', 270 #'waeup.exportData', 260 271 'waeup.managePortalConfiguration', 'waeup.viewApplication', 261 272 'waeup.manageApplication', 'waeup.handleApplication', -
main/waeup.kofa/trunk/src/waeup/kofa/permissions.txt
r10064 r10177 39 39 >>> from waeup.kofa.permissions import get_waeup_roles 40 40 >>> len(list(get_waeup_roles())) 41 1941 20 42 42 43 43 >>> len(list(get_waeup_roles(also_local=True))) 44 3 544 36 45 45 46 46 … … 61 61 u'waeup.CCOfficer', 62 62 u'waeup.DataCenterManager', 63 u'waeup.ExportManager', 63 64 u'waeup.ImportManager', 64 65 u'waeup.PortalManager',
Note: See TracChangeset for help on using the changeset viewer.