Ignore:
Timestamp:
26 Apr 2018, 08:50:56 (7 years ago)
Author:
Henrik Bettermann
Message:

Allow lecturer role assignment also at department level.

File:
1 edited

Legend:

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

    r14949 r14992  
    205205
    206206
     207class DepartmentOfficer(grok.Role):
     208    """The local DepartmentOfficer role can be assigned at faculty or
     209    department level. The role allows to list all student data within the
     210    faculty/department the local role is assigned.
     211    """
     212    grok.name('waeup.local.DepartmentOfficer')
     213    grok.title(u'Department Officer')
     214    grok.permissions('waeup.showStudents',
     215                     'waeup.viewAcademics',
     216                     'waeup.exportPaymentsOverview')
     217
     218
    207219class DepartmentManager(grok.Role):
    208220    """The local DepartmentManager role can be assigned at faculty or
     
    218230                     'waeup.showStudents',
    219231                     'waeup.exportData')
    220 
    221 
    222 class DepartmentOfficer(grok.Role):
    223     """The local DepartmentOfficer role can be assigned at faculty or
    224     department level. The role allows to list all student data within the
    225     faculty/department the local role is assigned.
    226 
    227     Department Managers (Dean of Faculty or Head of Department respectively)
    228     can also list student data but not access student pages. They can
    229     furthermore export payment overviews.
    230     """
    231     grok.name('waeup.local.DepartmentOfficer')
    232     grok.title(u'Department Officer')
    233     grok.permissions('waeup.showStudents',
    234                      'waeup.viewAcademics',
    235                      'waeup.exportPaymentsOverview')
    236232
    237233
Note: See TracChangeset for help on using the changeset viewer.