|
|
|
@ -380,7 +380,7 @@ def Update(inGSettings):
|
|
|
|
|
for lAllowedKeyItemStr in lItemDict["ControlPanelKeyAllowedList"]:
|
|
|
|
|
lUACClientDict["pyOpenRPADict"]["CPKeyDict"][lAllowedKeyItemStr]=True # Convert
|
|
|
|
|
# Send update UACDict for user by the list
|
|
|
|
|
__Orchestrator__.OrchestratorUACUpdate(inGSettings=inGSettings,inADLoginStr=lUserUpperStr, inADStr=lDomainUpperStr, inRoleHierarchyAllowedDict=lUACClientDict)
|
|
|
|
|
__Orchestrator__.UACUpdate(inGSettings=inGSettings,inADLoginStr=lUserUpperStr, inADStr=lDomainUpperStr, inRoleHierarchyAllowedDict=lUACClientDict)
|
|
|
|
|
# remove "ControlPanelKeyAllowedList"
|
|
|
|
|
del inGSettings["Server"]["AccessUsers"]["RuleDomainUserDict"][lItemKeyTurple]["ControlPanelKeyAllowedList"]
|
|
|
|
|
if lShowWarnBool: # Show only 1 warning per all run
|
|
|
|
|