Changeset 6655 for main/waeup.sirp/trunk/src/waeup/sirp/permissions.py
- Timestamp:
- 30 Aug 2011, 05:43:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/permissions.py
r6622 r6655 37 37 grok.name('waeup.managePortalSettings') 38 38 39 class ViewStudents(grok.Permission):40 grok.name('waeup.viewStudents')41 42 class ManageStudents(grok.Permission):43 grok.name('waeup.manageStudents')44 45 39 # Local Roles 46 40 class DepartmentOfficer(grok.Role): … … 48 42 grok.title(u'Department Officer') 49 43 grok.permissions('waeup.manageUniversity','waeup.View', 'waeup.Public') 44 45 class ClearanceOfficer(grok.Role): 46 grok.name('waeup.local.ClearanceOfficer') 47 grok.title(u'Clearance Officer') 48 # to be further defined 49 grok.permissions('waeup.View', 'waeup.Public') 50 51 class CourseAdviser(grok.Role): 52 grok.name('waeup.local.CourseAdviser') 53 grok.title(u'Course Adviser') 54 # to be further defined 55 grok.permissions('waeup.View', 'waeup.Public') 50 56 51 57 # Global Roles
Note: See TracChangeset for help on using the changeset viewer.