Features/KDE PolicyKitOneQt

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
== Summary ==
 
== 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.
+
This feature adds PolicyKit One support to Qt/KDE applications and the KDE desktop. That means new polkit-1-qt library, KAuth PK-1 backend and KDE Authentication Agent with Policy Kit one tools.
  
 
== Owner ==
 
== Owner ==
Line 10: Line 10:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/13 | Fedora 13 ]]  
 
* Targeted release: [[Releases/13 | Fedora 13 ]]  
* Last updated: 2010-01-04
+
* Last updated: 2010-01-28
* Percentage of completion: 85%
+
* Percentage of completion: 100%
  
 
[[Features/KDE_PolicyKitOneQt/Status | Detailed status]]
 
[[Features/KDE_PolicyKitOneQt/Status | Detailed status]]
Line 34: Line 34:
  
 
=== KDE Authentication Agent ===
 
=== 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.
+
See [[PolkitKdeTestPlan]].
  
 
== User Experience ==
 
== User Experience ==
Line 47: Line 47:
  
 
== Documentation ==
 
== Documentation ==
* Documentation is part of source codes, will be generated and published upstream.
+
* Documentation is part of source codes (Doxygen) and can be found at http://api.kde.org/.
* '''FIXME''': add link to upstream source
+
 
 +
* [http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt-1/html/ PolkitQt-1 API docs]
  
 
== Release Notes ==
 
== Release Notes ==
Line 56: Line 57:
 
* See [[Talk:Features/KDE_PolicyKitOneQt]]  <!-- This adds a link to the "discussion" tab associated with your page.  This provides the ability to have ongoing comments or conversation without bogging down the main feature page -->
 
* See [[Talk:Features/KDE_PolicyKitOneQt]]  <!-- This adds a link to the "discussion" tab associated with your page.  This provides the ability to have ongoing comments or conversation without bogging down the main feature page -->
  
[[Category:FeatureReadyForFesco]]
+
[[Category:FeatureAcceptedF13]]
 
<!-- When your feature page is completed and ready for review -->
 
<!-- When your feature page is completed and ready for review -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 08:10, 14 April 2010

Contents

[edit] KDE - PolicyKitOneQt Support

[edit] Summary

This feature adds PolicyKit One support to Qt/KDE applications and the KDE desktop. That means new polkit-1-qt library, KAuth PK-1 backend and KDE Authentication Agent with Policy Kit one tools.

[edit] Owner

[edit] Current status

  • Targeted release: Fedora 13
  • Last updated: 2010-01-28
  • Percentage of completion: 100%

Detailed status

[edit] 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.

[edit] 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.

[edit] 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.

[edit] How To Test

[edit] 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

[edit] KDE Authentication Agent

See PolkitKdeTestPlan.

[edit] User Experience

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

[edit] Dependencies

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

[edit] 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.

[edit] Documentation

[edit] Release Notes

  • This release of Fedora KDE Desktop Edition brings native Qt/KDE support for PolicyKit 1. It consists of PolkitQt-1 libraries, the KAuth backend for PolicyKit 1 (the new KDE Platform authorization framework) and native KDE Authentication Agent. As extension you can find unique System Settings configuration module for PolicyKit 1.

[edit] Comments and Discussion