Ignore:
Timestamp:
15 Oct 2012, 05:08:01 (12 years ago)
Author:
Henrik Bettermann
Message:

ApplicantAccount? can't reuse checkPassword.

Add new role and permission.

File:
1 edited

Legend:

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

    r9273 r9335  
    5959    grok.name('waeup.triggerTransition')
    6060
     61class LoginAsStudent(grok.Permission):
     62    grok.name('waeup.loginAsStudent')
     63
    6164# Local role
    6265class StudentRecordOwner(grok.Role):
     
    9699    grok.title(u'Course Adviser (all students)')
    97100    grok.permissions('waeup.validateStudent','waeup.viewStudent')
     101
     102class StudentImpersonator(grok.Role):
     103    grok.name('waeup.StudentImpersonator')
     104    grok.title(u'Student Impersonator')
     105    grok.permissions('waeup.loginAsStudent')
Note: See TracChangeset for help on using the changeset viewer.