diff options
author | Sebastian Heinlein <devel@glatzor.de> | 2011-12-15 09:21:20 +0100 |
---|---|---|
committer | Sebastian Heinlein <devel@glatzor.de> | 2011-12-15 09:21:20 +0100 |
commit | 8be89945d94c787838db4a5cf2fb83d4e37ab213 (patch) | |
tree | d957472ab39ac252184dbdf14f0f3a5c5a667d18 /policy | |
parent | 3ec85a96377b1dad90035d0acf98bcd4b5342c78 (diff) |
Add a new repair-system policy and use it by the corresponding
RepairSystem method
Diffstat (limited to 'policy')
-rw-r--r-- | policy/org.freedesktop.packagekit.policy.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/policy/org.freedesktop.packagekit.policy.in b/policy/org.freedesktop.packagekit.policy.in index c69009975..c34c81a16 100644 --- a/policy/org.freedesktop.packagekit.policy.in +++ b/policy/org.freedesktop.packagekit.policy.in @@ -249,5 +249,21 @@ </defaults> </action> + <action id="org.freedesktop.packagekit.repiar-system"> + <!-- SECURITY: + - Normal users require admin authentication to repair the system + since this can make the system unbootable or stop other + applications from working. + --> + <_description>Repair System</_description> + <_message>Authentication is required to repair the installed software</_message> + <icon_name>package-x-generic</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + </action> + </policyconfig> |