Ignore:
Timestamp:
19 Jun 2017, 11:13:27 (7 years ago)
Author:
Henrik Bettermann
Message:

Do not allow cert5 applicants to edit their names, sex and lga.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py

    r14580 r14695  
    437437                form_fields = form_fields.omit(field)
    438438        # Additional omissions
    439         if self.target is not None and self.target in ('ude', 'utme'):
     439        if self.target is not None and (self.target in ('ude', 'utme') \
     440            or self.context.__parent__.code == 'cert5'):
    440441            for field in UPDATE_OMIT_FIELDS:
    441442                form_fields[field].for_display = True
Note: See TracChangeset for help on using the changeset viewer.