diff options
author | Thomas Wood <thomas.wood@intel.com> | 2010-06-23 14:32:08 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2010-06-23 14:32:08 +0100 |
commit | 7d2e3195b9e836eebd0c0a3b7a1e02edfd3c025f (patch) | |
tree | a0e9f48bc7cae0192d71714fc2921597719f4fe2 /plugins/datetime/org.gnome.SettingsDaemon.DateTimeMechanism.conf | |
parent | 89ff3a0bbe75b8caeefe9a36c1b7170627ae03a9 (diff) | |
download | gnome-settings-daemon-7d2e3195b9e836eebd0c0a3b7a1e02edfd3c025f.tar.gz |
Add optional dependency on PolicyKit and install datetime servicewip/datetime-service
Diffstat (limited to 'plugins/datetime/org.gnome.SettingsDaemon.DateTimeMechanism.conf')
-rw-r--r-- | plugins/datetime/org.gnome.SettingsDaemon.DateTimeMechanism.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/datetime/org.gnome.SettingsDaemon.DateTimeMechanism.conf b/plugins/datetime/org.gnome.SettingsDaemon.DateTimeMechanism.conf new file mode 100644 index 00000000..bdb7554a --- /dev/null +++ b/plugins/datetime/org.gnome.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.gnome.SettingsDaemon.DateTimeMechanism"/> + <allow send_destination="org.gnome.SettingsDaemon.DateTimeMechanism"/> + </policy> + + <!-- Allow anyone to invoke methods on the interfaces --> + <policy context="default"> + <allow send_destination="org.gnome.SettingsDaemon.DateTimeMechanism"/> + </policy> + +</busconfig> |