core: amend policy to open up dynamic user queries (#3920)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 8 Aug 2016 21:39:16 +0000 (17:39 -0400)
committerLennart Poettering <lennart@poettering.net>
Mon, 8 Aug 2016 21:39:16 +0000 (23:39 +0200)
src/core/org.freedesktop.systemd1.conf

index 3c64f20..14f6aec 100644 (file)
                        send_interface="org.freedesktop.systemd1.Manager"
                        send_member="GetDefaultTarget"/>
 
+                <allow send_destination="org.freedesktop.systemd1"
+                       send_interface="org.freedesktop.systemd1.Manager"
+                       send_member="LookupDynamicUserByName"/>
+
+                <allow send_destination="org.freedesktop.systemd1"
+                       send_interface="org.freedesktop.systemd1.Manager"
+                       send_member="LookupDynamicUserByUID"/>
+
                 <!-- Managed via polkit or other criteria -->
 
                 <allow send_destination="org.freedesktop.systemd1"