diff options
author | Dan Williams <dcbw@redhat.com> | 2010-03-01 09:15:01 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-03-01 09:15:01 -0800 |
commit | a9ef8cb1759f25ee26f8015aa2e45a2bd3cd2da7 (patch) | |
tree | 801a638927d7b66676e372a97d37bbf1e6cea860 /policy | |
parent | 9d7cb0ddcf69993903c5bc51bbbfbd3a57f55413 (diff) |
policy: split Device into Info and Control
It's useful to let distros and admins set policy differently for device
information (for support, inventory, etc) than for actually controlling
the device like PIN/PUK unlocks.
Diffstat (limited to 'policy')
-rw-r--r-- | policy/org.freedesktop.modem-manager.policy.in | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/policy/org.freedesktop.modem-manager.policy.in b/policy/org.freedesktop.modem-manager.policy.in index 1c6f214c..6ac75f4c 100644 --- a/policy/org.freedesktop.modem-manager.policy.in +++ b/policy/org.freedesktop.modem-manager.policy.in @@ -9,9 +9,18 @@ <vendor_url>http://www.freedesktop.org/wiki/ModemManager</vendor_url> <icon_name>modem-manager</icon_name> - <action id="org.freedesktop.ModemManager.Device"> - <_description>Unlock and retrieve mobile broadband device information</_description> - <_message>System policy prevents unlocking the device or requesting information from it.</_message> + <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> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.ModemManager.Device.Info"> + <_description>Request mobile broadband device identifying information</_description> + <_message>System policy prevents requesting identifying information from the mobile broadband device.</_message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>auth_self_keep</allow_active> |