summaryrefslogtreecommitdiff
path: root/src/org.opensuse.CupsPkHelper.Mechanism.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/org.opensuse.CupsPkHelper.Mechanism.conf')
-rw-r--r--src/org.opensuse.CupsPkHelper.Mechanism.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/org.opensuse.CupsPkHelper.Mechanism.conf b/src/org.opensuse.CupsPkHelper.Mechanism.conf
new file mode 100644
index 0000000..2f47e22
--- /dev/null
+++ b/src/org.opensuse.CupsPkHelper.Mechanism.conf
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
+
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- Only root can own the service -->
+ <policy user="root">
+ <allow own="org.opensuse.CupsPkHelper.Mechanism"/>
+ <allow send_interface="org.opensuse.CupsPkHelper.Mechanism"/>
+ </policy>
+
+ <!-- Allow anyone to invoke methods on the interfaces -->
+ <policy context="default">
+ <allow send_interface="org.opensuse.CupsPkHelper.Mechanism"/>
+ </policy>
+
+</busconfig>