Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/hardware
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-26 12:41:03 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-26 12:41:03 (GMT)
commitd86290426c8418d82ff9d922f6ec9a4d2b12ed8f (patch)
tree49ea7c47cdde1a1874bd7c3711be1f82173013c0 /shell/hardware
parentc433d97db90a486fe2afd475aae868e6b50717f8 (diff)
Restore NetworkManagerInfo.conf
Diffstat (limited to 'shell/hardware')
-rw-r--r--shell/hardware/Makefile.am3
-rw-r--r--shell/hardware/NetworkManagerInfo.conf26
2 files changed, 29 insertions, 0 deletions
diff --git a/shell/hardware/Makefile.am b/shell/hardware/Makefile.am
index 9414f86..2fad769 100644
--- a/shell/hardware/Makefile.am
+++ b/shell/hardware/Makefile.am
@@ -5,3 +5,6 @@ sugar_PYTHON = \
nmclient.py \
nminfo.py \
wepkeydialog.py
+
+dbusservicedir = $(sysconfdir)/dbus-1/system.d/
+dbusservice_DATA = NetworkManagerInfo.conf
diff --git a/shell/hardware/NetworkManagerInfo.conf b/shell/hardware/NetworkManagerInfo.conf
new file mode 100644
index 0000000..4fb8270
--- /dev/null
+++ b/shell/hardware/NetworkManagerInfo.conf
@@ -0,0 +1,26 @@
+<!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.freedesktop.NetworkManagerInfo"/>
+
+ <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
+ <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
+ </policy>
+ <policy at_console="true">
+ <allow own="org.freedesktop.NetworkManagerInfo"/>
+
+ <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
+ <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
+ </policy>
+ <policy context="default">
+ <deny own="org.freedesktop.NetworkManagerInfo"/>
+
+ <deny send_destination="org.freedesktop.NetworkManagerInfo"/>
+ <deny send_interface="org.freedesktop.NetworkManagerInfo"/>
+ </policy>
+
+ <limit name="max_replies_per_connection">512</limit>
+</busconfig>
+