Changeset 14302 for main/waeup.aaue/trunk/src
- Timestamp:
- 1 Dec 2016, 07:58:10 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r14298 r14302 286 286 isStudent = getattr( 287 287 self.request.principal, 'user_type', None) == 'student' 288 if isStudent and self.context.student.state != RETURNING \289 and self.context.student.current_level == self.context.level:288 # Temporarily disabled on 1/12/2016 289 if isStudent: 290 290 return False 291 #if isStudent and self.context.student.state != RETURNING \ 292 # and self.context.student.current_level == self.context.level: 293 # return False 291 294 return True 292 295 … … 319 322 isStudent = getattr( 320 323 self.request.principal, 'user_type', None) == 'student' 321 return not isStudent \ 322 or self.context.student.current_level != self.context.level \ 323 or self.context.student.state == RETURNING 324 # Temporarily disabled on 1/12/2016 325 if isStudent: 326 return False 327 #if isStudent and self.context.student.state != RETURNING \ 328 # and self.context.student.current_level == self.context.level: 329 # return False 330 return True 324 331 325 332 def update(self):
Note: See TracChangeset for help on using the changeset viewer.