Changeset 9073


Ignore:
Timestamp:
27 Jul 2012, 05:59:57 (12 years ago)
Author:
Henrik Bettermann
Message:

email re-added.

Without displaying the email address we are loosing a very important security feature because the email address is somehow an identifier of students and applicants. If a person is able to change the email address of an applicant, he can hijack the account, which means he can later change the password, access and manipulate the record and block the account. Only with the email address printed on the pdf slip the ownership of a record can be certified. Therefore I enabled this field on pdf slips again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py

    r9072 r9073  
    4242# UG students are all undergraduate students.
    4343UG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS
    44 UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('email', 'phone')
     44UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('phone',)
    4545UG_OMIT_MANAGE_FIELDS = ()
    4646UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + (
     
    6060    'firstname', 'middlename', 'lastname', 'sex',
    6161    'course1', 'lga')
    62 PUTME_OMIT_PDF_FIELDS = PUTME_OMIT_DISPLAY_FIELDS + ('email', 'phone')
     62PUTME_OMIT_PDF_FIELDS = PUTME_OMIT_DISPLAY_FIELDS + ('phone',)
    6363PUTME_OMIT_RESULT_SLIP_FIELDS = PUTME_OMIT_DISPLAY_FIELDS + (
    64     'email', 'phone',
     64    'phone',
    6565    'date_of_birth', 'sex',
    6666    'nationality', 'lga', #'perm_address',
     
    7676    'firstname', 'middlename', 'lastname', 'sex',
    7777    'course1', 'lga'))
    78 PUDE_OMIT_PDF_FIELDS = PUDE_OMIT_DISPLAY_FIELDS + ('email', 'phone')
     78PUDE_OMIT_PDF_FIELDS = PUDE_OMIT_DISPLAY_FIELDS + ('phone',)
    7979PUDE_OMIT_RESULT_SLIP_FIELDS = PUDE_OMIT_DISPLAY_FIELDS + (
    80     'email', 'phone',
     80    'phone',
    8181    'date_of_birth', 'sex',
    8282    'nationality', 'lga', #'perm_address',
     
    8686# PG has its own interface
    8787PG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS
    88 PG_OMIT_PDF_FIELDS = PG_OMIT_DISPLAY_FIELDS + ('email', 'phone')
     88PG_OMIT_PDF_FIELDS = PG_OMIT_DISPLAY_FIELDS + ('phone',)
    8989PG_OMIT_MANAGE_FIELDS = ()
    9090PG_OMIT_EDIT_FIELDS = PG_OMIT_MANAGE_FIELDS + (
Note: See TracChangeset for help on using the changeset viewer.