chiark / gitweb /
logind: implement basic version of AttachDevice() D-Bus call
[elogind.git] / src / org.freedesktop.login1.policy
index da66998e516c54d47eb7925d14d8851b33c919e3..8f802c1e56f76e92cdc6cb70883e4d15e0a65130 100644 (file)
                 </defaults>
         </action>
 
+        <action id="org.freedesktop.login1.attach-device">
+                <description>Allow attaching devices to seats</description>
+                <message>Authentication is required to allow attaching a device to a seat</message>
+                <defaults>
+                        <allow_any>auth_admin_keep</allow_any>
+                        <allow_inactive>auth_admin_keep</allow_inactive>
+                        <allow_active>auth_admin_keep</allow_active>
+                </defaults>
+        </action>
+
 </policyconfig>