Diffusion KAuth f53d6a29a049

[KAuth] Add support for action details in Polkit1 backend.

Authored by feverfew on Mar 1 2020, 5:42 PM.

Description

[KAuth] Add support for action details in Polkit1 backend.

Summary:
KAuth action has a setDetail method. This can be used to override the message shown in the authentication dialog.
However, until now none of the backends actually used it. So this patch;

  • Overloads setDetail method. The overload accepts details in a QMap.
  • Makes use of the details in polkit1 backend.

Reviewers: apol, bruns, davidedmundson, Frameworks, dfaure, cfeck, sitter, chinmoyr

Reviewed By: sitter

Subscribers: elvisangelaccio, bcooksley, ngraham, sitter, mreeves, kde-frameworks-devel

Tags: Frameworks

Maniphest Tasks: T8075

Differential Revision: https://phabricator.kde.org/D21795