Changeset 8993 for main/waeup.kofa/trunk/src/waeup/kofa/university
- Timestamp:
- 13 Jul 2012, 06:07:07 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/university
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.py
r8967 r8993 36 36 grok.implements(ICertificate, ICertificateAdd) 37 37 38 @property # Make this method read_only and looking like an attr. 39 def local_roles(self): 40 return ['waeup.local.CourseAdviser100', 41 'waeup.local.CourseAdviser200', 42 'waeup.local.CourseAdviser300', 43 'waeup.local.CourseAdviser400', 44 'waeup.local.CourseAdviser500', 45 'waeup.local.CourseAdviser600', 46 ] 38 local_roles = [ 39 'waeup.local.CourseAdviser100', 40 'waeup.local.CourseAdviser200', 41 'waeup.local.CourseAdviser300', 42 'waeup.local.CourseAdviser400', 43 'waeup.local.CourseAdviser500', 44 'waeup.local.CourseAdviser600', 45 ] 47 46 48 47 def __init__(self, code=u'NA', title=u'Unnamed Certificate', -
main/waeup.kofa/trunk/src/waeup/kofa/university/department.py
r8965 r8993 32 32 grok.implements(IDepartment, IDepartmentAdd) 33 33 34 @property # Make this method read_only and looking like an attr. 35 def local_roles(self): 36 return ['waeup.local.DepartmentManager', 37 'waeup.local.ClearanceOfficer', 38 'waeup.local.UGClearanceOfficer', 39 'waeup.local.PGClearanceOfficer', 40 'waeup.local.CourseAdviser100', 41 'waeup.local.CourseAdviser200', 42 'waeup.local.CourseAdviser300', 43 'waeup.local.CourseAdviser400', 44 'waeup.local.CourseAdviser500', 45 'waeup.local.CourseAdviser600', 46 ] 34 local_roles = [ 35 'waeup.local.DepartmentManager', 36 'waeup.local.ClearanceOfficer', 37 'waeup.local.UGClearanceOfficer', 38 'waeup.local.PGClearanceOfficer', 39 'waeup.local.CourseAdviser100', 40 'waeup.local.CourseAdviser200', 41 'waeup.local.CourseAdviser300', 42 'waeup.local.CourseAdviser400', 43 'waeup.local.CourseAdviser500', 44 'waeup.local.CourseAdviser600', 45 ] 47 46 48 47 # A simple counter for ids. -
main/waeup.kofa/trunk/src/waeup/kofa/university/faculty.py
r8965 r8993 32 32 grok.implements(IFaculty, IFacultyAdd) 33 33 34 @property # Make this method read_only and looking like an attr. 35 def local_roles(self): 36 return ['waeup.local.DepartmentManager', 37 'waeup.local.ClearanceOfficer', 38 'waeup.local.UGClearanceOfficer', 39 'waeup.local.PGClearanceOfficer', 40 'waeup.local.CourseAdviser100', 41 'waeup.local.CourseAdviser200', 42 'waeup.local.CourseAdviser300', 43 'waeup.local.CourseAdviser400', 44 'waeup.local.CourseAdviser500', 45 'waeup.local.CourseAdviser600', 46 ] 34 local_roles = [ 35 'waeup.local.DepartmentManager', 36 'waeup.local.ClearanceOfficer', 37 'waeup.local.UGClearanceOfficer', 38 'waeup.local.PGClearanceOfficer', 39 'waeup.local.CourseAdviser100', 40 'waeup.local.CourseAdviser200', 41 'waeup.local.CourseAdviser300', 42 'waeup.local.CourseAdviser400', 43 'waeup.local.CourseAdviser500', 44 'waeup.local.CourseAdviser600', 45 ] 47 46 48 47 def __init__(self,
Note: See TracChangeset for help on using the changeset viewer.