From: Dan Scott Date: Tue, 10 Jan 2012 18:47:06 +0000 (-0500) Subject: Adjust to new values of permission groups in 2.1 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a08282dc30bd800a74c88cb02b4f54f31c88320e;p=contrib%2FConifer.git Adjust to new values of permission groups in 2.1 We shifted the permission group IDs when we upgraded to 2.1 and have to compensate accordingly in this hard-coded script. Signed-off-by: Dan Scott --- diff --git a/tools/patron-load/ldap_osrf_sync b/tools/patron-load/ldap_osrf_sync index 4fb5a57e2b..ff7caf2759 100755 --- a/tools/patron-load/ldap_osrf_sync +++ b/tools/patron-load/ldap_osrf_sync @@ -162,17 +162,17 @@ class User: affiliation = r'\N' profile_map = { - 'ug': 13, - 'student': 13, - 'gr': 12, - 'al': 14, - 'faculty': 11, - 'staff': 15, - 'thorneloe': 15, - 'thornloe': 15, + 'ug': 113, + 'student': 113, + 'gr': 112, + 'al': 114, + 'faculty': 111, + 'staff': 115, + 'thorneloe': 115, + 'thornloe': 115, 'proxy': None, 'retired': None, - 'affiliate': 15 + 'affiliate': 115 } if affiliation in profile_map: