From Fedora Project Wiki
(Created page with '<!-- The actual name of your feature page should look something like: Features/YourFeatureName. This keeps all features in the same namespace --> = KDE - PolicyKitOneQt Support...')
 
No edit summary
Line 18: Line 18:


== Detailed Description ==
== Detailed Description ==
<!-- Expand on the summary, if appropriate. A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
One of Fedora 12 Feature was Policy Kit One. It became part of Fedora and deprecated old Policy Kit. We need proper support in Qt and KDE applications. We'd like to offer Qt like API (instead pure DBUS interface and GLib library) to access PolicyKit One features. KDE 4.4 feature is new authorization system KAuth. To support it, we need Policy Kit One backend. In Fedora 12 KDE Desktop Edition uses Gnome Authentication Agent. We need native KDE authentication agent. This feature is supposed to become part of new KDE release (4.4) and it would help wide adoption of PolicyKit One along KDE distributions.


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 46: Line 46:


== Contingency Plan ==
== Contingency Plan ==
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "None necessary, revert to previous release behaviour."  Or it might not. If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy. -->
As we don't ship polkit-qt in F12 (as we don't have PK1 support) nothing happens but it's going to block KDE 4.4. So this is MUST HAVE feature.


== Documentation ==
== Documentation ==
<!-- Is there upstream documentation on this feature, or notes you have written yourself?  Link to that material here so other interested developers can get involved. -->
* Documentation is part of source codes, will be generated and published upstream.
*


== Release Notes ==
== Release Notes ==
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
* TBD
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
*


== Comments and Discussion ==
== Comments and Discussion ==

Revision as of 15:58, 6 October 2009


KDE - PolicyKitOneQt Support

Summary

This feature aims on PolicyKit One support for Qt/KDE applications and KDE desktop. That means new polkit-1-qt library, KAuth PK-1 backend and KDE Authentication Agent with Policy Kit one tools. Targetted release is KDE 4.4 and Fedora 13.

Owner

Current status

  • Targeted release: Fedora 41
  • Last updated: 2009-10-06
  • Percentage of completion: 33%


Detailed Description

One of Fedora 12 Feature was Policy Kit One. It became part of Fedora and deprecated old Policy Kit. We need proper support in Qt and KDE applications. We'd like to offer Qt like API (instead pure DBUS interface and GLib library) to access PolicyKit One features. KDE 4.4 feature is new authorization system KAuth. To support it, we need Policy Kit One backend. In Fedora 12 KDE Desktop Edition uses Gnome Authentication Agent. We need native KDE authentication agent. This feature is supposed to become part of new KDE release (4.4) and it would help wide adoption of PolicyKit One along KDE distributions.

Benefit to Fedora

Fedora now uses Policy Kit One as default authentication mechanism. But KDE supports only old Policy Kit, already depracated in Fedora, by now. With Policy Kit One support Fedora KDE users/developers can use it in own Qt/KDE applications with nicer Qt API. Authentication Agent dialog would match rest of desktop environment (Gnome one would be replaced). KDE upstream would benefit from this feature too - means better adoption of this Fedora in-house project.

Scope

Polkit-1-qt has to be finished and released. Based on this library KDE Authentication Agent could be prepared and new KDE authentication system can be ported to use it.

It affects only KDE desktop environment.

How To Test

polkit-qt-1

There's an example application shipped with this library. It's also covered by automatical tests. As it's uses as backend for KAuth, test KAuth based applications - mostly system settings modules.

1. run systemsettings 2. try to change date/time

KDE Authentication Agent

To test agent you have to execute PolicyKit action which requires authentication for eg. polkit-qt-1 example application. KDE looking dialog should be invoked (instead Gnome one). It should correctly authenticate as proper user. Action description should fit requested action.

User Experience

  • KDE users get authentication agent dialog that matches theirs environment.
  • Working systemsettings modules which needs root privileges.

Dependencies

Provides KAuth backend for kdelibs that are under KDE SIG control.

Contingency Plan

As we don't ship polkit-qt in F12 (as we don't have PK1 support) nothing happens but it's going to block KDE 4.4. So this is MUST HAVE feature.

Documentation

  • Documentation is part of source codes, will be generated and published upstream.

Release Notes

  • TBD

Comments and Discussion