lp:~neon/project-neon/polkit-qt-1

Created by Philip Muškovac on 2011-01-31 and last modified on 2019-10-02
Get this branch:
bzr branch lp:~neon/project-neon/polkit-qt-1

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Deprecated Projected Neon
Project:
Project Neon
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://anongit.kde.org/polkit-qt-1.git.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on izar and finished 2 hours ago taking 15 seconds — see the log
Import started 8 hours ago on izar and finished 8 hours ago taking 15 seconds — see the log
Import started 14 hours ago on izar and finished 14 hours ago taking 15 seconds — see the log
Import started 20 hours ago on izar and finished 20 hours ago taking 20 seconds — see the log
Import started on 2019-12-07 on alnitak and finished on 2019-12-07 taking 20 seconds — see the log
Import started on 2019-12-06 on izar and finished on 2019-12-06 taking 20 seconds — see the log
Import started on 2019-12-06 on izar and finished on 2019-12-06 taking 15 seconds — see the log
Import started on 2019-12-06 on izar and finished on 2019-12-06 taking 20 seconds — see the log
Import started on 2019-12-06 on alnitak and finished on 2019-12-06 taking 15 seconds — see the log
Import started on 2019-12-05 on izar and finished on 2019-12-05 taking 15 seconds — see the log

Recent revisions

359. By Laurent Montel <email address hidden> on 2019-10-02

Make it compile without deprecated method

358. By Heiko Becker on 2019-08-27

Bump version for release

357. By Heiko Becker on 2019-08-27

Don't set version numbers as INT cache entries

No need to have them overwritten by the user and it fixes a
"implicitly converting 'INT' to 'STRING' type" warning.

356. By Heiko Becker on 2019-08-27

Move cmake_minimum_required to the top of CMakeLists.txt

355. By Heiko Becker on 2019-08-27

Remove support for Qt4

354. By Shubham Jangra <email address hidden> on 2019-05-31

Remove unneded documentation

353. By Matthias Gerstner <email address hidden> on 2019-04-02

authority: add support for passing details to polkit

Summary:
Currently polkit-qt-1 doesn't support to pass details during the `checkAuthorization()` call. Details are for example required to employ runtime generated authorization messages that contain placeholders like `"authentication required for accessing $(device)"`. This feature can be helpful to improve the end user experience and security, since the exact context of a privileged operation can be expressed better. Polkit documentation about this details parameter can be found [[ https://www.freedesktop.org/software/polkit/docs/latest/eggdbus-interface-org.freedesktop.PolicyKit1.Authority.html#eggdbus-method-org.freedesktop.PolicyKit1.Authority.CheckAuthorization | here ]].

This change adds alternative versions of `checkAuthorization()` and `checkAuthorizationSync()` that accepts an additional `QMap<QString, QString> details` parameter. In the implementation this map is converted into the required polkit level PolkitDetails type and passed to the according polkit functions as necessary.

To conform with the [[ https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B | KDE binary compatibility policy]] I didn't extend or overload the existing `checkAuthorization()` and `checkAuthorizationSync()` functions, but introduced newly named functions.

Reviewers: #frameworks, chinmoyr, fvogt, bruns, davidedmundson

Reviewed By: bruns, davidedmundson

Subscribers: elvisangelaccio, ngraham, mati865, kde-frameworks-devel

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

352. By Shubham Jangra <email address hidden> on 2019-03-30

Fix typo in comments

351. By Alexander Volkov on 2018-04-09

Add .arcconfig

350. By Laurent Montel <email address hidden> on 2018-01-07

Remove unused file

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.