Changeset 7334 for main/waeup.sirp/trunk/src/waeup/sirp/university
- Timestamp:
- 12 Dec 2011, 14:11:21 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/university
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.py
r7321 r7334 32 32 """ 33 33 grok.implements(ICertificate, ICertificateAdd) 34 35 @property # Make this method read_only and looking like an attr. 36 def local_roles(cls): 37 return ['waeup.local.CourseAdviser100', 38 'waeup.local.CourseAdviser200', 39 'waeup.local.CourseAdviser300', 40 'waeup.local.CourseAdviser400', 41 'waeup.local.CourseAdviser500', 42 'waeup.local.CourseAdviser600', 43 ] 34 44 35 45 def __init__(self, code=u'NA', title=u'Unnamed Certificate', -
main/waeup.sirp/trunk/src/waeup/sirp/university/department.py
r7333 r7334 33 33 def local_roles(cls): 34 34 return ['waeup.local.DepartmentManager', 35 'waeup.local.ClearanceOfficer',] 35 'waeup.local.ClearanceOfficer', 36 'waeup.local.CourseAdviser100', 37 'waeup.local.CourseAdviser200', 38 'waeup.local.CourseAdviser300', 39 'waeup.local.CourseAdviser400', 40 'waeup.local.CourseAdviser500', 41 'waeup.local.CourseAdviser600', 42 ] 36 43 37 44 # A simple counter for ids. -
main/waeup.sirp/trunk/src/waeup/sirp/university/faculty.py
r7195 r7334 34 34 def local_roles(cls): 35 35 return ['waeup.local.DepartmentManager', 36 'waeup.local.ClearanceOfficer',] 36 'waeup.local.ClearanceOfficer', 37 'waeup.local.CourseAdviser100', 38 'waeup.local.CourseAdviser200', 39 'waeup.local.CourseAdviser300', 40 'waeup.local.CourseAdviser400', 41 'waeup.local.CourseAdviser500', 42 'waeup.local.CourseAdviser600', 43 ] 37 44 38 45 def __init__(self,
Note: See TracChangeset for help on using the changeset viewer.