Ignore:
Timestamp:
10 Jul 2012, 05:37:41 (12 years ago)
Author:
Henrik Bettermann
Message:

Add local roles UGClearanceOfficer and PGClearanceOfficer.

File:
1 edited

Legend:

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

    r8774 r8962  
    8888    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
    8989
     90class UGClearanceOfficer(grok.Role):
     91    """The clearance officer role is meant for the
     92    assignment of dynamic roles only.
     93    """
     94    grok.name('waeup.local.UGClearanceOfficer')
     95    grok.title(u'UG Clearance Officer')
     96    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
     97
     98class PGClearanceOfficer(grok.Role):
     99    """The clearance officer role is meant for the
     100    assignment of dynamic roles only.
     101    """
     102    grok.name('waeup.local.PGClearanceOfficer')
     103    grok.title(u'PG Clearance Officer')
     104    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
     105
    90106class CourseAdviser100(grok.Role):
    91107    """The 100 level course adviser role is meant for the
Note: See TracChangeset for help on using the changeset viewer.