summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-05-16 14:33:53 +0100
committerRichard Hughes <richard@hughsie.com>2008-05-16 14:33:53 +0100
commit1c313503be920d16dee3b0813430841ba8f76a01 (patch)
treee0a5208025c6ef8d6d682c50be393544ef9726c4 /policy
parentd9b8274b163941288c020a8ab70803ab9beb5d51 (diff)
add a system method SetProxy() for setting the proxy from the session securely
Diffstat (limited to 'policy')
-rw-r--r--policy/org.freedesktop.packagekit.policy.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/policy/org.freedesktop.packagekit.policy.in b/policy/org.freedesktop.packagekit.policy.in
index 32efce7ee..4c4607d3d 100644
--- a/policy/org.freedesktop.packagekit.policy.in
+++ b/policy/org.freedesktop.packagekit.policy.in
@@ -133,5 +133,17 @@
<allow_active>yes</allow_active>
</defaults>
</action>
+
+ <action id="org.freedesktop.packagekit.set-proxy">
+ <_description>Set network proxy</_description>
+ <_message>Authentication is required to set the network proxy used for downloading packages</_message>
+ <icon_name>applications-internet</icon_name>
+ <vendor_url>http://www.packagekit.org/pk-reference.html#methods-set-proxy</vendor_url>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
</policyconfig>