aboutsummaryrefslogtreecommitdiffstats
path: root/conf/polkit-policy
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2016-07-15 06:22:08 +0800
committerkremlin <ian@kremlin.cc>2016-07-15 06:22:08 +0800
commit9d3b5b6886d6d3f3932088097724087def9b6ea2 (patch)
treea36dad203ab9679864981c9c8cae30aef85aa849 /conf/polkit-policy
parent7a7c9176a59e4286f0c4dc6ead65f1ff9b0b131f (diff)
downloadsystembsd-devel.tar
systembsd-devel.tar.gz
systembsd-devel.tar.bz2
systembsd-devel.tar.lz
systembsd-devel.tar.xz
systembsd-devel.tar.zst
systembsd-devel.zip
add new method handlers/properties for new location & deployment elementsHEADdevel
Diffstat (limited to 'conf/polkit-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>