Changeset 6127 for main/waeup.sirp/trunk/src/waeup/sirp/permissions.py
- Timestamp:
- 18 May 2011, 15:58:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/permissions.py
r6125 r6127 27 27 class ManageUsers(grok.Permission): 28 28 grok.name('waeup.manageUsers') 29 30 class ManageDataCenter(grok.Permission): 31 grok.name('waeup.manageDataCenter') 32 33 class ManagePortalSettings(grok.Permission): 34 grok.name('waeup.managePortalSettings') 29 35 30 36 # Local Roles 31 37 class DepartmentOfficer(grok.Role): 32 grok.name('waeup.local.Department Manager')33 grok.permissions('waeup.manageUniversity' )38 grok.name('waeup.local.DepartmentOfficer') 39 grok.permissions('waeup.manageUniversity','waeup.View', 'waeup.Public') 34 40 35 41 # Global Roles … … 41 47 grok.name('waeup.PortalManager') 42 48 grok.permissions('waeup.manageUniversity', 'waeup.manageUsers', 43 'waeup.View', 'waeup.Public','waeup.manageACBatches') 49 'waeup.View', 'waeup.Public','waeup.manageACBatches', 50 'waeup.manageDataCenter','waeup.managePortalSettings') 44 51 45 52 def getRoles():
Note: See TracChangeset for help on using the changeset viewer.