aboutsummaryrefslogtreecommitdiffstats
path: root/conf/polkit-policy/org.freedesktop.hostname1.policy
diff options
context:
space:
mode:
Diffstat (limited to 'conf/polkit-policy/org.freedesktop.hostname1.policy')
-rw-r--r--conf/polkit-policy/org.freedesktop.hostname1.policy18
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/polkit-policy/org.freedesktop.hostname1.policy b/conf/polkit-policy/org.freedesktop.hostname1.policy
index f80d57d..cc9fa99 100644
--- a/conf/polkit-policy/org.freedesktop.hostname1.policy
+++ b/conf/polkit-policy/org.freedesktop.hostname1.policy
@@ -54,4 +54,22 @@
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
+ <action id="org.freedesktop.hostname1.set-deployment">
+ <description>Set system's deployment.</description>
+ <message>Setting the system's deployment requires authentication.</message>
+ <defaults>
+ <allow_any>auth_admin_keep</allow_any>
+ <allow_inactive>auth_admin_keep</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
+ <action id="org.freedesktop.hostname1.set-location">
+ <description>Set system's location.</description>
+ <message>Setting the system's location requires authentication.</message>
+ <defaults>
+ <allow_any>auth_admin_keep</allow_any>
+ <allow_inactive>auth_admin_keep</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
</policyconfig>