diff options
Diffstat (limited to 'data/org.freedesktop.ModemManager1.policy.in')
-rw-r--r-- | data/org.freedesktop.ModemManager1.policy.in | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/data/org.freedesktop.ModemManager1.policy.in b/data/org.freedesktop.ModemManager1.policy.in new file mode 100644 index 00000000..65a0496e --- /dev/null +++ b/data/org.freedesktop.ModemManager1.policy.in @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC + "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" + "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> + +<policyconfig> + + <vendor>ModemManager</vendor> + <vendor_url>http://www.freedesktop.org/wiki/ModemManager</vendor_url> + <icon_name>modem-manager</icon_name> + + <action id="org.freedesktop.ModemManager1.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.ModemManager1.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.ModemManager1.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>yes</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.ModemManager1.Contacts"> + <_description>Add, modify, and delete mobile broadband contacts</_description> + <_message>System policy prevents adding, modifying, or deleting this device's contacts.</_message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.ModemManager1.Sms"> + <_description>Send, save, modify, and delete text messages</_description> + <_message>System policy prevents sending or maniuplating this device's text messages.</_message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.ModemManager1.Location"> + <_description>Enable and view geographic location and positioning information</_description> + <_message>System policy prevents enabling or viewing geographic location information.</_message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.ModemManager1.USSD"> + <_description>Query and utilize network information and services</_description> + <_message>System policy prevents querying or utilizing network information and services.</_message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.ModemManager1.Firmware"> + <_description>Query and manage firmware on a mobile broadband device</_description> + <_message>System policy prevents querying or managing this device's firmware.</_message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + </action> + +</policyconfig> |