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 <dscott@laurentian.ca>
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: