diff options
author | Sebastian Reichel <sre@ring0.de> | 2017-04-16 01:19:16 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2017-04-18 22:08:34 +0200 |
commit | a211b960a7590910b46c1d59acaeda5e87b5b522 (patch) | |
tree | da94483c1d1719d71777477452d34092df91e215 /dbus/config/io.mainframe.shopsystem.Config.conf | |
parent | 2bee9e0eb0f46d41a381e3fc32ff98a192f9493a (diff) | |
download | serial-barcode-scanner-a211b960a7590910b46c1d59acaeda5e87b5b522.tar.bz2 |
all: switch from session to system bus
Diffstat (limited to 'dbus/config/io.mainframe.shopsystem.Config.conf')
-rw-r--r-- | dbus/config/io.mainframe.shopsystem.Config.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dbus/config/io.mainframe.shopsystem.Config.conf b/dbus/config/io.mainframe.shopsystem.Config.conf new file mode 100644 index 0000000..41e5cb6 --- /dev/null +++ b/dbus/config/io.mainframe.shopsystem.Config.conf @@ -0,0 +1,17 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + + <!-- ../system.conf have denied everything, so we just punch some holes --> + + <policy user="root"> + <allow own="io.mainframe.shopsystem.Config"/> + <allow send_destination="io.mainframe.shopsystem.Config"/> + </policy> + + <policy user="shop"> + <allow own="io.mainframe.shopsystem.Config"/> + <allow send_destination="io.mainframe.shopsystem.Config"/> + </policy> + +</busconfig> |