Ignore:
Timestamp:
13 Jul 2012, 16:36:21 (12 years ago)
Author:
Henrik Bettermann
Message:

Add lecturer local role which has no dynamic role assignment yet.

Add test_import to CourseProcessorTests?.

File:
1 edited

Legend:

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

    r8962 r9002  
    152152    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
    153153
     154class Lecturer(grok.Role):
     155    """The lecturer role is meant for the
     156    assignment of dynamic roles only.
     157    """
     158    grok.name('waeup.local.Lecturer')
     159    grok.title(u'Lecturer')
     160    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
     161
    154162class Owner(grok.Role):
    155163    grok.name('waeup.local.Owner')
Note: See TracChangeset for help on using the changeset viewer.