summaryrefslogtreecommitdiffstats
path: root/examples/org.tqt.policykit.examples.conf
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-10-31 00:13:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-10-31 00:14:22 +0900
commite8933e99b4600d91e9eab7d1ad3a2d35813028a9 (patch)
treeb2899fd1ef651a1bff56918ace94625a4bc14aa0 /examples/org.tqt.policykit.examples.conf
parente8494e60efeb94c67c813d1c1c038031915e8c17 (diff)
downloadpolkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.tar.gz
polkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.zip
More Qt->TQt conversion and some clean up.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/org.tqt.policykit.examples.conf')
-rw-r--r--examples/org.tqt.policykit.examples.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/org.tqt.policykit.examples.conf b/examples/org.tqt.policykit.examples.conf
new file mode 100644
index 000000000..a655a7a75
--- /dev/null
+++ b/examples/org.tqt.policykit.examples.conf
@@ -0,0 +1,20 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- This configuration file specifies the required security policies
+ for the PolicyKit examples to work. -->
+
+ <!-- Only user root can own the PackageKit service -->
+ <policy user="root">
+ <allow own="org.tqt.policykit.examples"/>
+ </policy>
+
+ <!-- Allow anyone to call into the service - we'll reject callers using PolicyKit -->
+ <policy context="default">
+ <allow send_destination="org.tqt.policykit.examples"/>
+ </policy>
+
+</busconfig>
+