[PATCH 4/4] Docking: Add policy file hal-dockstation.policy

Holger Macht hmacht at suse.de
Thu Jan 31 12:02:06 PST 2008


Add hal-dockstation.policy file with privilege
org.freedesktop.hal.dockstation.undock

Signed-off-by: Holger Macht <hmacht at suse.de>
---

diff --git a/policy/hal-dockstation.policy b/policy/hal-dockstation.policy
new file mode 100644
index 0000000..7d5add7
--- /dev/null
+++ b/policy/hal-dockstation.policy
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+
+<policyconfig>
+
+ <action id="org.freedesktop.hal.dockstation.undock">
+    <description>Undock a docking station</description>
+    <message>System policy prevents undocking</message>
+    <defaults>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>yes</allow_active>
+    </defaults>
+  </action>
+
+</policyconfig>
+



More information about the hal mailing list