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 @@ + + + <_description>Repair System + <_message>Authentication is required to repair the installed software + package-x-generic + + no + no + auth_admin + + + diff --git a/src/pk-transaction.c b/src/pk-transaction.c index 449b76084..61ea24fe2 100644 --- a/src/pk-transaction.c +++ b/src/pk-transaction.c @@ -2596,7 +2596,7 @@ pk_transaction_role_to_action_only_trusted (PkRoleEnum role) policy = "org.freedesktop.packagekit.upgrade-system"; break; case PK_ROLE_ENUM_REPAIR_SYSTEM: - policy = "org.freedesktop.packagekit.package-install"; + policy = "org.freedesktop.packagekit.repair-system"; break; default: break;