From a08282dc30bd800a74c88cb02b4f54f31c88320e Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 10 Jan 2012 13:47:06 -0500 Subject: [PATCH] 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 --- tools/patron-load/ldap_osrf_sync | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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: -- 2.11.0