- Timestamp:
- 30 Nov 2011, 23:13:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/permissions.py
r7201 r7240 29 29 grok.name('waeup.viewStudent') 30 30 31 class ViewStudents(grok.Permission): 32 grok.name('waeup.viewStudents') 31 class ViewStudentsTab(grok.Permission): 32 grok.name('waeup.viewStudentsTab') 33 34 class ViewMyStudentDataTab(grok.Permission): 35 grok.name('waeup.viewMyStudentDataTab') 36 37 class ViewStudentsContainer(grok.Permission): 38 grok.name('waeup.viewStudentsContainer') 33 39 34 40 class PayStudent(grok.Permission): … … 58 64 class StudentRole(grok.Role): 59 65 grok.name('waeup.Student') 60 grok.permissions('waeup.viewAcademics' )66 grok.permissions('waeup.viewAcademics', 'waeup.viewMyStudentDataTab') 61 67 62 68 class StudentsOfficer(grok.Role): 63 69 grok.name('waeup.StudentsOfficer') 64 70 grok.title(u'Students Officer (view only)') 65 grok.permissions('waeup.viewStudent','waeup.viewStudents') 71 grok.permissions('waeup.viewStudent','waeup.viewStudents', 72 'waeup.viewStudentsTab', 'waeup.viewStudentsContainer') 66 73 67 74 class StudentsManager(grok.Role):
Note: See TracChangeset for help on using the changeset viewer.