Skip to content

Suppress displaying PackageKit::Transaction::ErrorNotAuthorized to the user

This error's text ("You have no authorization to execute this operation") is displayed to the user under two circumstances:

  1. The user was asked for autorization and canceled out of the auth dialog
  2. The user attempted unecssessfully to provide authorization enough times to cause the auth dialog to close itself

In case #1 (closed), the user knows what they did, so there is no need to notify them. In case #2 (moved), the dialog has already communicated to the user that they are entering their password incorrectly (or whatever the problem is) so there is no need to redundantly tell them again afterwards.

BUG: 388076 FIXED-IN: 5.22

cc @teams/vdg @apol

Merge request reports