Ignore:
Timestamp:
6 Apr 2013, 04:53:30 (12 years ago)
Author:
Henrik Bettermann
Message:

Add more local course adviser roles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.py

    r9645 r10064  
    150150    grok.name('waeup.local.CourseAdviser600')
    151151    grok.title(u'Course Adviser 600L')
     152    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
     153
     154class CourseAdviser700(grok.Role):
     155    """The 700 level course adviser role is meant for the
     156    assignment of dynamic roles only.
     157    """
     158    grok.name('waeup.local.CourseAdviser700')
     159    grok.title(u'Course Adviser 700L')
     160    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
     161
     162class CourseAdviser800(grok.Role):
     163    """The 800 level course adviser role is meant for the
     164    assignment of dynamic roles only.
     165    """
     166    grok.name('waeup.local.CourseAdviser800')
     167    grok.title(u'Course Adviser 800L')
    152168    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
    153169
Note: See TracChangeset for help on using the changeset viewer.