From 783fd1e6d7762d45cf88cae438e0cc181de49274 Mon Sep 17 00:00:00 2001
From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab>
Date: Mon, 26 Jan 2015 13:27:18 +0000
Subject: [PATCH] Add comment about affiliation variability

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@88 047e039d-479c-447e-8a29-aa6bf4a09bab
---
 templates/web/validate_token.tt2.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/web/validate_token.tt2.html b/templates/web/validate_token.tt2.html
index 30c1d2e..da68e48 100644
--- a/templates/web/validate_token.tt2.html
+++ b/templates/web/validate_token.tt2.html
@@ -48,6 +48,7 @@
 				<caption>List of user attributes</caption>
             [% FOREACH attribute IN account_profile.pairs -%]
               [% NEXT IF attribute.key.match('^(type|comment)$') %]
+              [% IF attribute.key == 'eduPersonAffiliation' || attribute.key == 'eduPersonScoppedAffiliation' %](1) [% END %]
               [% IF attribute.value.isa('SCALAR') -%]
 				<tr>
 					<th>[% attribute.key %]:</th><td> [% attribute.value %]</td>
@@ -63,6 +64,8 @@
 	</div>
 
             <div class="alert-box info radius">If you need a customized test account with additionnal user attributes, you should contact <a href="mailto:[% conf.support_email %]">[% conf.support_email %]</a>.</div>
+            <div>(1) eduPersonAffiliation and eduPersonScoppedAffilisation attributes are assigned quite differently from federation to federation. <a href="https://www.terena.org/activities/refeds/docs/ePSAcomparison_0_13.pdf">This usage comparison of eduPersonAffiliation accross different countries</a> discusses these differences. Therefore its values should be handled with great care. </div>
+    
 			<a class="close-reveal-modal">&#215;</a>
         </div>
         </dl>
-- 
GitLab