From 0db713da6c44426902961b023a925563f40b6ec7 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Sun, 6 Feb 2022 01:15:26 +0100
Subject: [PATCH] dbus: Replace unsupported "auth_self_keep_session" by
 "auth_self_keep"

---
 src/DBus/org.usbguard.policy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/DBus/org.usbguard.policy b/src/DBus/org.usbguard.policy
index ce842393..f1bed538 100644
--- a/src/DBus/org.usbguard.policy
+++ b/src/DBus/org.usbguard.policy
@@ -11,7 +11,7 @@
     <message>Prevents from listing the USBGuard policy</message>
     <defaults>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_self_keep_session</allow_active>
+      <allow_active>auth_self_keep</allow_active>
     </defaults>
   </action>
 
@@ -38,7 +38,7 @@
     <message>Prevents from listing USB devices recognized by the USBGuard daemon</message>
     <defaults>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_self_keep_session</allow_active>
+      <allow_active>auth_self_keep</allow_active>
     </defaults>
   </action>
 
