aboutsummaryrefslogtreecommitdiffstats
path: root/backend/org.mageia.Magiback.conf
diff options
context:
space:
mode:
Diffstat (limited to 'backend/org.mageia.Magiback.conf')
-rw-r--r--backend/org.mageia.Magiback.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/backend/org.mageia.Magiback.conf b/backend/org.mageia.Magiback.conf
new file mode 100644
index 0000000..af00707
--- /dev/null
+++ b/backend/org.mageia.Magiback.conf
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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 become service owner -->
+ <policy user="root">
+ <allow own="org.mageia.Magiback"/>
+ <allow send_destination="org.mageia.Magiback"/>
+ <allow send_interface="org.mageia.Magiback"/>
+ </policy>
+
+ <!-- Anyone can invoke method -->
+ <policy context="default">
+ <allow send_destination="org.mageia.Magiback"/>
+ <allow send_interface="org.mageia.Magiback"/>
+ </policy>
+ <policy context="default">
+ <allow send_destination="org.mageia.Magiback.Isodumper"/>
+ <allow send_interface="org.mageia.Magiback.Isodumper"/>
+ </policy>
+</busconfig>