Ignore:
Timestamp:
1 Aug 2024, 11:02:51 (3 months ago)
Author:
Henrik Bettermann
Message:

Implement final clearance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/permissions.py

    r13856 r17866  
    3838    grok.title(u'Financial Clearance Officer')
    3939    grok.permissions('waeup.clearStudentFinancially')
     40
     41class ClearStudentFinally(grok.Permission):
     42    """The ClearStudentFinally permission is needed to clear students
     43    finally or to reject final clearance. This permission is
     44    meant for final clearance officers.
     45    """
     46    grok.name('waeup.clearStudentFinally')
     47
     48
     49class FinalClearanceOfficer(grok.Role):
     50    """Final Clearance Officers are also allowed to clear
     51    students finally. Usually this role is assigned together
     52    with the BursaryOfficer role and the StudentsOfficer role.
     53    """
     54    grok.name('waeup.FinalClearanceOfficer')
     55    grok.title(u'Final Clearance Officer')
     56    grok.permissions('waeup.clearStudentFinally')
Note: See TracChangeset for help on using the changeset viewer.