Changeset 8962


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

Add local roles UGClearanceOfficer and PGClearanceOfficer.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 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
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.txt

    r8367 r8962  
    4242
    4343    >>> len(list(get_waeup_roles(also_local=True)))
    44     26
     44    28
    4545
    4646
Note: See TracChangeset for help on using the changeset viewer.