diff options
Diffstat (limited to 'plugins/polkit.policy')
-rw-r--r-- | plugins/polkit.policy | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/polkit.policy b/plugins/polkit.policy new file mode 100644 index 00000000..bc36a6dd --- /dev/null +++ b/plugins/polkit.policy @@ -0,0 +1,29 @@ +<?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>Connection Manager</vendor> + <icon_name>network-wireless</icon_name> + + <action id="org.moblin.connman.modify"> + <description>Settings configuration</description> + <message>Policy prevents modification of settings</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep_always</allow_active> + </defaults> + </action> + + <action id="org.moblin.connman.secret"> + <description>Secrets configuration</description> + <message>Policy prevents modification of secrets</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep_always</allow_active> + </defaults> + </action> + +</policyconfig> |