]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: group policy entries by interface
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 May 2024 15:57:28 +0000 (17:57 +0200)
committerLuca Boccassi <bluca@debian.org>
Mon, 20 May 2024 18:59:15 +0000 (20:59 +0200)
src/login/org.freedesktop.login1.conf

index 9b59e9ce556c88f331d48dff2446cbbad5948636..dd6e3651e3ef537c1074f14fe2ddd9ac24ec8309 100644 (file)
                        send_interface="org.freedesktop.login1.Session"
                        send_member="SetBrightness"/>
 
-                <allow send_destination="org.freedesktop.login1"
-                       send_interface="org.freedesktop.login1.User"
-                       send_member="Terminate"/>
-
-                <allow send_destination="org.freedesktop.login1"
-                       send_interface="org.freedesktop.login1.User"
-                       send_member="Kill"/>
-
                 <allow send_destination="org.freedesktop.login1"
                        send_interface="org.freedesktop.login1.Session"
                        send_member="SetDisplay"/>
                        send_interface="org.freedesktop.login1.Session"
                        send_member="SetTTY"/>
 
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.User"
+                       send_member="Terminate"/>
+
+                <allow send_destination="org.freedesktop.login1"
+                       send_interface="org.freedesktop.login1.User"
+                       send_member="Kill"/>
+
                 <allow receive_sender="org.freedesktop.login1"/>
         </policy>