|
@ -60,6 +60,8 @@ def users_make_zayavka(users): |
|
|
memberof = ad_groups_1c |
|
|
memberof = ad_groups_1c |
|
|
elif str(i['Otdel']) == 'Bitrix': |
|
|
elif str(i['Otdel']) == 'Bitrix': |
|
|
memberof = ad_groups_bitrix |
|
|
memberof = ad_groups_bitrix |
|
|
|
|
|
else: |
|
|
|
|
|
memberof = [] |
|
|
if i['XServ'] == 1: |
|
|
if i['XServ'] == 1: |
|
|
memberof.append(ad_group_xserv) |
|
|
memberof.append(ad_group_xserv) |
|
|
if i['RDP'] == 1: |
|
|
if i['RDP'] == 1: |
|
|