Ignore:
Timestamp:
13 Apr 2015, 11:25:52 (10 years ago)
Author:
Henrik Bettermann
Message:

Students are only allowed to download course registration slips if they are
in state 'registered' and their current level corresponds with the course
registration level.

File:
1 edited

Legend:

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

    r12843 r12853  
    453453        if not is_current:
    454454            return ''
     455        if self.context.student.state != REGISTERED \
     456            or self.context.student.current_level != self.context.level:
     457            return ''
    455458        return self.view.url(self.view.context, self.target)
    456459
Note: See TracChangeset for help on using the changeset viewer.