需求未通过,先别同步了...

This commit is contained in:
luoxueyi 2024-01-26 10:30:40 +08:00
parent b85534051d
commit 6f491db4c7
1 changed files with 2 additions and 2 deletions

View File

@ -769,12 +769,12 @@ def PolicyKit_Authority(details = '', sender = None, InstPolicy = False, authent
_verify_kylinsign = True
if _allow_kylinsign == True and _verify_kylinsign == False: #策略: 阻止
logging.info("unknown sources apply installation policies: deter")
return True,"USI-policy-deter"
# return True,"USI-policy-deter"
elif _allow_kylinsign == True and _verify_kylinsign == True: #策略: 警告
logging.info("unknown sources apply installation policies: warning")
elif _allow_kylinsign == False and _verify_kylinsign == False: #策略: 关闭
logging.info("unknown sources apply installation policies: close")
return True,"USI-policy-close"
# return True,"USI-policy-close"
else:
logging.warning("Unknown sources apply installation policies get failed.")