"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pi-manage" between
privacyidea-3.6.1.tar.gz and privacyidea-3.6.2.tar.gz

About: privacyIDEA is a flexible two factor authentication server that can be used to enhance the security of existing applications like local login, VPN, remote access, SSH connections or access to web sites.

pi-manage  (privacyidea-3.6.1):pi-manage  (privacyidea-3.6.2)
skipping to change at line 1519 skipping to change at line 1519
else: else:
action_str = "Updated" action_str = "Updated"
r = set_policy(name, r = set_policy(name,
action=policy.get("action"), action=policy.get("action"),
active=policy.get("active", True), active=policy.get("active", True),
adminrealm=policy.get("adminrealm"), adminrealm=policy.get("adminrealm"),
adminuser=policy.get("adminuser"), adminuser=policy.get("adminuser"),
check_all_resolvers=policy.get( check_all_resolvers=policy.get(
"check_all_resolvers", False), "check_all_resolvers", False),
client=policy.get("client"), client=policy.get("client"),
condition=policy.get("condition"), conditions=policy.get("conditions"),
pinode=policy.get("pinode"), pinode=policy.get("pinode"),
priority=policy.get("priority"), priority=policy.get("priority"),
realm=policy.get("realm"), realm=policy.get("realm"),
resolver=policy.get("resolver"), resolver=policy.get("resolver"),
scope=policy.get("scope"), scope=policy.get("scope"),
time=policy.get("time"), time=policy.get("time"),
user=policy.get("user")) user=policy.get("user"))
print("{0!s} policy {1!s} with result {2!s}".format(action_str, name, r) ) print("{0!s} policy {1!s} with result {2!s}".format(action_str, name, r) )
def conf_import(filename=None, conftype=None, cleanup=False, update=False): def conf_import(filename=None, conftype=None, cleanup=False, update=False):
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)