summaryrefslogtreecommitdiff
path: root/plugins/datetime
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/datetime')
-rw-r--r--plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf2
-rw-r--r--plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf b/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf
index c861ace..297f121 100644
--- a/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf
+++ b/plugins/datetime/org.mate.SettingsDaemon.DateTimeMechanism.conf
@@ -9,11 +9,13 @@
<policy user="root">
<allow own="org.mate.SettingsDaemon.DateTimeMechanism"/>
<allow send_destination="org.mate.SettingsDaemon.DateTimeMechanism"/>
+ <allow receive_sender="org.mate.SettingsDaemon.DateTimeMechanism"/>
</policy>
<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow send_destination="org.mate.SettingsDaemon.DateTimeMechanism"/>
+ <allow receive_sender="org.mate.SettingsDaemon.DateTimeMechanism"/>
</policy>
</busconfig>
diff --git a/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in b/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
index 3fb688e..4eecfd6 100644
--- a/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
+++ b/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
@@ -13,7 +13,7 @@
<_message>Privileges are required to change the system time zone.</_message>
<defaults>
<allow_inactive>no</allow_inactive>
- <allow_active>auth_self_keep</allow_active>
+ <allow_active>auth_admin_keep</allow_active>
</defaults>
</action>