summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-05-10 16:03:02 +0200
committerAleksander Morgado <aleksander@lanedo.com>2011-06-06 17:20:17 +0200
commitc67cbcabef276b5fcd01286208b5465d47949c68 (patch)
tree814649bb38b997abea106d14f32090fa4f0ada41 /policy
parent3fb53d33489bb8efaf4d69ac1d8f6a23fc0c7b4b (diff)
policy: new policy for manager control actions
Diffstat (limited to 'policy')
-rw-r--r--policy/org.freedesktop.modem-manager.policy.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/policy/org.freedesktop.modem-manager.policy.in b/policy/org.freedesktop.modem-manager.policy.in
index 3790918d..3fb0c77c 100644
--- a/policy/org.freedesktop.modem-manager.policy.in
+++ b/policy/org.freedesktop.modem-manager.policy.in
@@ -9,6 +9,15 @@
<vendor_url>http://www.freedesktop.org/wiki/ModemManager</vendor_url>
<icon_name>modem-manager</icon_name>
+ <action id="org.freedesktop.ModemManager.Control">
+ <_description>Control the Modem Manager daemon</_description>
+ <_message>System policy prevents controlling the Modem Manager.</_message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ </action>
+
<action id="org.freedesktop.ModemManager.Device.Control">
<_description>Unlock and control a mobile broadband device</_description>
<_message>System policy prevents unlocking or controlling the mobile broadband device.</_message>