summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2022-02-21 18:45:44 +0100
committerDaniel Wagner <wagi@monom.org>2022-02-27 18:50:54 +0100
commit029375372b260f9134f77ce74ed45ac2ec15a1de (patch)
tree3f5d216e9492b7a778831eaa514ef98c1661f5ab
parent5d1eebad7cffeae7d7b6b11d03d04f73bdd503bc (diff)
downloadconnman-029375372b260f9134f77ce74ed45ac2ec15a1de.tar.gz
vpn/vpn-polkit.policy: Replace unsupported "auth_*_keep_session" by "auth_*_keep"
This will stop recent Polkit (e.g. version 0.120) from first complaining about a parse error and then discarding the whole file.
-rw-r--r--vpn/vpn-polkit.policy4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpn/vpn-polkit.policy b/vpn/vpn-polkit.policy
index 0c427220..b187b377 100644
--- a/vpn/vpn-polkit.policy
+++ b/vpn/vpn-polkit.policy
@@ -13,7 +13,7 @@
<message>Policy prevents modification of settings</message>
<defaults>
<allow_inactive>no</allow_inactive>
- <allow_active>auth_self_keep_session</allow_active>
+ <allow_active>auth_self_keep</allow_active>
</defaults>
</action>
@@ -22,7 +22,7 @@
<message>Policy prevents modification of secrets</message>
<defaults>
<allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep_session</allow_active>
+ <allow_active>auth_admin_keep</allow_active>
</defaults>
</action>