summaryrefslogtreecommitdiffstats
path: root/django/sp_sso/invite/utils.py
diff options
context:
space:
mode:
authorPaul Marillonnet <pmarillonnet@entrouvert.com>2017-09-26 18:20:30 (GMT)
committerPaul Marillonnet <pmarillonnet@entrouvert.com>2017-09-26 18:20:30 (GMT)
commit15acf06d9d8b40695541e7a036ddbc12c46b073a (patch)
treef6e833830534f66ef4a4f2859dfb37af7d7535eb /django/sp_sso/invite/utils.py
parent0597ef286f59690657ba5cb0c33840b328f52d63 (diff)
downloadpaul-synchro-15acf06d9d8b40695541e7a036ddbc12c46b073a.zip
paul-synchro-15acf06d9d8b40695541e7a036ddbc12c46b073a.tar.gz
paul-synchro-15acf06d9d8b40695541e7a036ddbc12c46b073a.tar.bz2
POC Campus Condorcet : invitations - préremplissage et invitation de declaration
Diffstat (limited to 'django/sp_sso/invite/utils.py')
-rw-r--r--django/sp_sso/invite/utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/django/sp_sso/invite/utils.py b/django/sp_sso/invite/utils.py
index 4f49b39..31c2c0a 100644
--- a/django/sp_sso/invite/utils.py
+++ b/django/sp_sso/invite/utils.py
@@ -11,10 +11,12 @@ INVITATION_ATTRIBUTES_MAPPING = {
'ep_principal_name': 'hote_identite',
'email': 'hote_courriel',
'prenom': 'hote_prenom',
- 'nom': 'hote_nom'
+ 'nom': 'hote_nom',
+ 's_etablissement': 'hote_etablissement',
+ 's_entite_affectation_principale': 'hote_unite'
}
-ADDITIONAL_PREFILLED_FIELDS = ['hote_etablissement', 'hote_unite']
+ADDITIONAL_PREFILLED_FIELDS = ['hote_etablissement', 'hote_unite', 'hote_type']
PASSERELLE_PEOPLE_QUERY = 'http://dir-condorcet.dev.entrouvert.org/ldapquery/condorcet/run/6/'