summaryrefslogtreecommitdiff
path: root/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf')
-rw-r--r--plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf b/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf
new file mode 100644
index 0000000..c861ace
--- /dev/null
+++ b/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
+
+<!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 own the service -->
+ <policy user="root">
+ <allow own="org.mate.SettingsDaemon.DateTimeMechanism"/>
+ <allow send_destination="org.mate.SettingsDaemon.DateTimeMechanism"/>
+ </policy>
+
+ <!-- Allow anyone to invoke methods on the interfaces -->
+ <policy context="default">
+ <allow send_destination="org.mate.SettingsDaemon.DateTimeMechanism"/>
+ </policy>
+
+</busconfig>