diff --git a/evap/development/fixtures/test_data.json b/evap/development/fixtures/test_data.json index 635d5d9118..0b04b413c6 100644 --- a/evap/development/fixtures/test_data.json +++ b/evap/development/fixtures/test_data.json @@ -132980,7 +132980,7 @@ "title": "", "first_name_given": "", "first_name_chosen": "", - "last_name": "", + "last_name": "reviewer", "language": "", "is_proxy_user": false, "login_key": null, @@ -133008,7 +133008,7 @@ "title": "", "first_name_given": "", "first_name_chosen": "", - "last_name": "", + "last_name": "proxy", "language": "", "is_proxy_user": true, "login_key": null, @@ -133043,7 +133043,7 @@ "title": "", "first_name_given": "", "first_name_chosen": "", - "last_name": "", + "last_name": "proxy_delegate", "language": "", "is_proxy_user": false, "login_key": null, @@ -133071,7 +133071,79 @@ "title": "", "first_name_given": "", "first_name_chosen": "", - "last_name": "", + "last_name": "proxy_delegate_2", + "language": "", + "is_proxy_user": false, + "login_key": null, + "login_key_valid_until": null, + "is_active": true, + "notes": "", + "startpage": "DE", + "groups": [], + "user_permissions": [], + "delegates": [], + "cc_users": [] + } +}, +{ + "model": "evaluation.userprofile", + "fields": { + "password": "eZAyFmtqHydCIFtGdbevAxiVjiRpqMtmaVUCrmkcfXdoJDigmGWPVNHeoYYyRojokKUJjsgPSPvZkjiiIHSIQlBfOKtQFDbZlPEyKnrQRrHdPtEhUYHqJauIlyIkYpBM", + "last_login": null, + "is_superuser": false, + "email": "vincenzo.boston@student.institution.example.com", + "title": "", + "first_name_given": "Vincenzo Alfredo", + "first_name_chosen": "", + "last_name": "Boston", + "language": "", + "is_proxy_user": false, + "login_key": null, + "login_key_valid_until": null, + "is_active": true, + "notes": "", + "startpage": "DE", + "groups": [], + "user_permissions": [], + "delegates": [], + "cc_users": [] + } +}, +{ + "model": "evaluation.userprofile", + "fields": { + "password": "utAhMBbTpirVqtaoPpadEHdamaehnXWbEsliMMSnwDBYJcTnHluinAxkTeEupPoBzpuDBMYeXbpwmockMtQNYegbMuxkUBEBKqWGkOEFAWxzUFjdxevtIwYzvAgHCAwD", + "last_login": null, + "is_superuser": false, + "email": "bud.ledbetter@student.institution.example.com", + "title": "", + "first_name_given": "Bud", + "first_name_chosen": "", + "last_name": "LedBetter", + "language": "", + "is_proxy_user": false, + "login_key": null, + "login_key_valid_until": null, + "is_active": true, + "notes": "", + "startpage": "DE", + "groups": [], + "user_permissions": [], + "delegates": [], + "cc_users": [] + } +}, +{ + "model": "evaluation.userprofile", + "fields": { + "password": "naFmzOVrFhXrVVLsIGFYceDAarTGwDRFZKGJwBvKhNFCpupezBrwhorUHsyQSpUxLFKSQuOurcIyoBBYRjARXjzcJCbqYRiKRMOwvdTqwNjAbYDhUKbopBPDYhANXUkI", + "last_login": null, + "is_superuser": false, + "email": "melody.large@student.institution.example.com", + "title": "", + "first_name_given": "Melody", + "first_name_chosen": "", + "last_name": "Large", "language": "", "is_proxy_user": false, "login_key": null, diff --git a/evap/settings.py b/evap/settings.py index 9fa6190e5a..ed75d335d3 100644 --- a/evap/settings.py +++ b/evap/settings.py @@ -67,7 +67,7 @@ # email domains for the internal users of the hosting institution used to # figure out who is an internal user -INSTITUTION_EMAIL_DOMAINS = ["institution.example.com"] +INSTITUTION_EMAIL_DOMAINS = ["institution.example.com", "student.institution.example.com"] # List of tuples defining email domains that should be replaced on saving UserProfiles. # Emails ending on the first value will have this part replaced by the second value. diff --git a/evap/staff/templates/staff_user_merge_selection.html b/evap/staff/templates/staff_user_merge_selection.html index 8cccecb44c..8a04ad8407 100644 --- a/evap/staff/templates/staff_user_merge_selection.html +++ b/evap/staff/templates/staff_user_merge_selection.html @@ -8,20 +8,50 @@ {% block content %} {{ block.super }} -