diff options
author | S.Çağlar Onur <caglar@pardus.org.tr> | 2007-10-26 16:22:31 +0300 |
---|---|---|
committer | S.Çağlar Onur <caglar@pardus.org.tr> | 2007-10-26 16:22:31 +0300 |
commit | 6c184847987b7c04c18f220d78cdbf32864e669d (patch) | |
tree | 1142be027507999c30de68c8d653075f5d6e3e3d /policy | |
parent | 18672af2b9e84330b91d9a742829adc9f3c9abd9 (diff) |
Convert RefreshCache to a privileged operation but with default to allow when on active console.
The distro can then patch this default to whatever depending on the security policy - and the admin can of course change the default.
Diffstat (limited to 'policy')
-rw-r--r-- | policy/packagekit.policy | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/policy/packagekit.policy b/policy/packagekit.policy index 10faa240..2c27827d 100644 --- a/policy/packagekit.policy +++ b/policy/packagekit.policy @@ -72,5 +72,12 @@ Copyright (c) 2007 Richard Hughes <richard@hughsie.com> </defaults> </action> + <action id="org.freedesktop.packagekit.refresh-cache"> + <description>Refresh package cache</description> + <message>System policy prevents refresh package cache</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> </policyconfig> - |