Changeset 6125 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 18 May 2011, 13:47:05 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/permissions.py
r6045 r6125 27 27 class ManageUsers(grok.Permission): 28 28 grok.name('waeup.manageUsers') 29 30 # Local Roles 31 class DepartmentOfficer(grok.Role): 32 grok.name('waeup.local.DepartmentManager') 33 grok.permissions('waeup.manageUniversity') 29 34 30 class FacultyRead(grok.Permission): 31 grok.name('waeup.facultyread') 32 33 # Roles 35 # Global Roles 34 36 class PortalUser(grok.Role): 35 37 grok.name('waeup.PortalUser') 36 grok.permissions('waeup. facultyread', 'waeup.View', 'waeup.Public')38 grok.permissions('waeup.View', 'waeup.Public') 37 39 38 40 class PortalManager(grok.Role): -
main/waeup.sirp/trunk/src/waeup/sirp/university/faculty.py
r5994 r6125 8 8 IFaculty, IFacultyAdd, IDepartment) 9 9 from waeup.sirp.university.vocabularies import inst_types 10 11 local_roles = [ 12 {'name':'waeup.local.DepartmentOfficer','title':'Department Officer'}, 13 ] 10 14 11 15 class Faculty(grok.Container):
Note: See TracChangeset for help on using the changeset viewer.