Status of Policy Kit

Rémi Cardona remi at gentoo.org
Wed Apr 25 22:58:32 PDT 2007


David Zeuthen a écrit :
> that are triggered by a session-wide D-Bus service; e.g. applications
> (like gnome-mount) who are told by e.g. HAL that a certain method cannot
> be invoked (because HAL says libpolkit doesn't say 'yes') just calls
> into org.gnome.PolicyKit and the session daemon (possibly activated)
> handling that service prompt the user for authentication. This is in the
> PolicyKit-gnome project; it's not yet in GNOME SVN but will be shortly
> as gnome-mount and other stuff is going to depend on it.

Will there be an "easy" way for us distributors to ship a PolicyKit that 
works pretty much like what HAL in Gentoo does today :

   <policy group="plugdev">
     <allow 
send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
     <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
     <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
     <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
   </policy>

Just wondering :)

Regards,
Rémi


More information about the hal mailing list