Changeset 10246 for main/waeup.kofa/trunk/src
- Timestamp:
- 29 May 2013, 06:28:41 (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
r10243 r10246 88 88 grok.permissions('waeup.manageAcademics','waeup.showStudents') 89 89 90 class BursaryOfficer(grok.Role):91 grok.name('waeup.local.BursaryOfficer')92 grok.title(u'Bursary Officer')93 grok.permissions('waeup.showStudents', 'waeup.viewAcademics')94 95 90 class ClearanceOfficer(grok.Role): 96 91 """The clearance officer role is meant for the … … 227 222 grok.permissions('waeup.manageDataCenter', 228 223 'waeup.exportData') 224 225 class BursaryOfficer(grok.Role): 226 grok.name('waeup.BursaryOfficer') 227 grok.title(u'Bursary Officer') 228 grok.permissions('waeup.showStudents', 'waeup.viewAcademics') 229 229 230 230 class UsersManager(grok.Role): -
main/waeup.kofa/trunk/src/waeup/kofa/permissions.txt
r10243 r10246 39 39 >>> from waeup.kofa.permissions import get_waeup_roles 40 40 >>> len(list(get_waeup_roles())) 41 2 141 22 42 42 43 43 >>> len(list(get_waeup_roles(also_local=True))) … … 60 60 u'waeup.ApplicationsManager', 61 61 u'waeup.ApplicationsOfficer', 62 u'waeup.BursaryOfficer', 62 63 u'waeup.CCOfficer', 63 64 u'waeup.DataCenterManager',
Note: See TracChangeset for help on using the changeset viewer.