Projet

Général

Profil

0001-settings-define-mellon-authentication-levels-mapping.patch

Valentin Deniaud, 16 avril 2019 18:01

Télécharger (894 octets)

Voir les différences:

Subject: [PATCH] settings: define mellon authentication levels mapping

 chrono/settings.py | 6 ++++++
 1 file changed, 6 insertions(+)
chrono/settings.py
160 160

  
161 161
MELLON_IDENTITY_PROVIDERS = []
162 162

  
163
MELLON_AUTH_LEVELS_MAPPING = {
164
    'https://entrouvert.org/auth-level/1': 1,
165
    'https://entrouvert.org/auth-level/2': 2,
166
    'https://entrouvert.org/auth-level/3': 3,
167
}
168

  
163 169
# proxies argument passed to all python-request methods
164 170
# (see http://docs.python-requests.org/en/master/user/advanced/#proxies)
165 171
REQUESTS_PROXIES = None
166
-