summaryrefslogtreecommitdiff
path: root/plugins/polkit.policy
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-07 17:48:28 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-07 17:48:28 +0100
commit70c75fa16808fe7cfd6d98af4770972ebaeee332 (patch)
tree02340020504032928abb4fb3f5bde04746da9508 /plugins/polkit.policy
parent384be7749672d1ad9e3575d0885d2295d9afaa7c (diff)
downloadconnman-70c75fa16808fe7cfd6d98af4770972ebaeee332.tar.gz
connman-70c75fa16808fe7cfd6d98af4770972ebaeee332.tar.bz2
connman-70c75fa16808fe7cfd6d98af4770972ebaeee332.zip
Change name of policy configuration file for PolicyKit
Diffstat (limited to 'plugins/polkit.policy')
-rw-r--r--plugins/polkit.policy29
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>