summaryrefslogtreecommitdiff
path: root/src/connman-polkit.conf
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-07 17:37:26 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-07 17:37:26 +0100
commitf5b24ac0b5d57328cf8649dcdae73c40db2bb59e (patch)
treecfcea24c67516dbfe49e2f3c18ee0e68358f7f1b /src/connman-polkit.conf
parenta48010072c90de9278b63fff0fbdf6e98f138517 (diff)
downloadconnman-f5b24ac0b5d57328cf8649dcdae73c40db2bb59e.tar.gz
connman-f5b24ac0b5d57328cf8649dcdae73c40db2bb59e.tar.bz2
connman-f5b24ac0b5d57328cf8649dcdae73c40db2bb59e.zip
Install different D-Bus configuration if PolicyKit is enabled
Diffstat (limited to 'src/connman-polkit.conf')
-rw-r--r--src/connman-polkit.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/connman-polkit.conf b/src/connman-polkit.conf
new file mode 100644
index 00000000..9e44b8b5
--- /dev/null
+++ b/src/connman-polkit.conf
@@ -0,0 +1,11 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="org.moblin.connman"/>
+ <allow send_interface="org.moblin.connman.Agent"/>
+ </policy>
+ <policy context="default">
+ <allow send_destination="org.moblin.connman"/>
+ </policy>
+</busconfig>