On Mon, 2007-05-07 at 17:03 -0400, Dan Williams wrote:
> Matthias, is PolicyKit the right place to request a feature such
as
> poking firewall holes for avahi (Rhythmbox sharing, etc.)? I seem to
> remember that was one of the targets for this package. Of course, I may
> be misremembering that detail...
It's not the right place to _implement_ the poking of holes, but
PolicyKit would hopefully be used by the thing that actually poked the
holes to determine if you are authorized to poke holes. It's more of a
"decider" than an actor. The actor asks policy kit if some operation is
authorized, and PolicyKit says "yes/no".
Yeah, that's a pretty accurate description.
So I actually happen to have a bunch of high-level notes about the whole
thing that I will post soon. Just need to sort them out so they sort of
make sense. Until then, there's already code in git (with 100% gtk-doc
coverage!) that should give a hint or two about how the whole thing
works..
http://gitweb.freedesktop.org/?p=PolicyKit.git
Also, I hope to land this pretty early in the Fedora 8 cycle because
I've already added support for this thing in HAL and gnome-mount.
Anyway, more on this later...
David