iflL:lL.warning(f"Backward compatibility (v1.1.20 to v1.2.0): Convert CP allowed list to UAC Client hierarchy (consolidated)")# Log about compatibility
Server.__ComplexDictMerge2to1__(in1Dict=inRoleHierarchyAllowedDict,in2Dict=lRoleHierarchyAllowedOLDDict)# Merge dict 2 into dict 1
# Create Access item
lRuleDomainUserDict={
"MethodMatchURLBeforeList":inURLList,
"ControlPanelKeyAllowedList":inCPAllowKeyList,#["TestControlPanel", "RobotRDPActive","RobotScreenActive", "ControlPanel_Template"] # If empty - all is allowed
lUACBool=False# UAC Check is not passed - False for user
lUACBool=dUAC(inRoleKeyList=lUACCPTemplateKeyList+[lItem["KeyStr"]])# Check if render function is applicable User Access Rights (UAC)
iflItem["KeyStr"]=="VersionCheck":lUACBool=True# For backward compatibility for the old fron version which not reload page when new orch version is comming
#if inGSettings["Server"]["AccessUsers"]["FlagCredentialsAsk"] is True: