From Fedora Project Wiki
Line 60: Line 60:
** gnome-panel (http://bugzilla.redhat.com/show_bug.cgi?id=498366)
** gnome-panel (http://bugzilla.redhat.com/show_bug.cgi?id=498366)
** gnome-applets (no mechanism here, should either just drop cpufreq applet or build without polkit)
** gnome-applets (no mechanism here, should either just drop cpufreq applet or build without polkit)
** GConf2
** GConf2 (http://bugzilla.redhat.com/show_bug.cgi?id=498370)
** gnome-session (http://bugzilla.redhat.com/show_bug.cgi?id=497619)
** gnome-session (http://bugzilla.redhat.com/show_bug.cgi?id=497619)
** system-config-services
** system-config-services

Revision as of 06:05, 30 April 2009


Feature Name

PolicyKit 1.0

Summary

PolicyKit provides a flexible framework for granting users access to privileged operations. It is meant to replace the old userhelper approach, and overcome some of its shortcomings. PolicyKit 1.0 addresses architectural shortcomings of the initial PolicyKit design.

Owner

Current status

  • Targeted release: Fedora 12
  • Last updated: 2009-02-13
  • Percentage of completion: 35%

PolicyKit 0.91 is the current release of the new PolicyKit. See the announcement

David has produced src rpms too [1].

The TODO list for PolicyKit 1.0 can be found here.

Richard has ported PackageKit to the new API (in a branch).

Detailed Description

The initial Releases/FeaturePolicyKit as introduced in Fedora 8 has some shortcomings. E.g. it is based on a library with suid helpers. The shortcoming that motivated the rewrite is that it is not possible to integrate it with directory services such as FreeIPA. The new PolicyKit is implemented as a system bus service and has pluggable backends that make it easy to integrate with directory services. It is one of the goals of the Features/SSSD feature to write such a backend. PolicyKit 1.0 itself will ship with a backend that uses the local filesystem to store action definitions and authorizations, similar to the current PolicyKit.

More details can be found in Davids announcement of the PolicyKit 0.90 release.

The current plan is to land the new PolicyKit early in F12 (as soon as it opens up, basically), and have most of the patches ready to port applications. The old PolicyKit 0.9 packages can remain for a while to ease the transition period and will be removed a few months into F12, when all users have been ported.

Benefit to Fedora

Making it possible to manage policies in a central directory service makes Fedora more suitable for larger, centrally managed installations.


Scope

How To Test

User Experience

The authentication dialogs that are shown by PolicyKit will change in some aspects. The 'retain authorization' checkboxes will likely go away and be replaced with a status icon in the style of consolehelper-gtk, that lets you inspect and drop your retained authorizations.


Dependencies

  • Features/SSSD not a hard dependency, but these two features will benefit from each other


Contingency Plan

Stay with PolicyKit 0.9

Documentation

API documentation can be found here.

A porting guide is being assembled here.

No user documentation yet.

Release Notes

TBD

Comments and Discussion