diff options
author | Papoteur <papoteur@mageia.org> | 2018-03-11 13:54:12 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-03-16 11:17:42 +0100 |
commit | 2ac71badfd671cd397ac23c92be58ff2090bac21 (patch) | |
tree | 171d895cb3dd0a06c8cd88096c9814fb9c095b1b /backend/org.mageia.Magiback.conf | |
parent | cf47ed2aa96097466370456eeb66709370707cb8 (diff) | |
download | isodumper-2ac71badfd671cd397ac23c92be58ff2090bac21.tar isodumper-2ac71badfd671cd397ac23c92be58ff2090bac21.tar.gz isodumper-2ac71badfd671cd397ac23c92be58ff2090bac21.tar.bz2 isodumper-2ac71badfd671cd397ac23c92be58ff2090bac21.tar.xz isodumper-2ac71badfd671cd397ac23c92be58ff2090bac21.zip |
Add backend providing DBus service
Diffstat (limited to 'backend/org.mageia.Magiback.conf')
-rw-r--r-- | backend/org.mageia.Magiback.conf | 22 |
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> |