Misleading RegisterAuthenticationAgent documentation
Submitted by Miloslav Trmac
Assigned to David Zeuthen @david
Description
In data/org.freedesktop.PolicyKit1.Authority.xml, RegisterAuthenticationAgent documentation includes
<para>
Note that current versions of PolicyKit will only work if @session_id is set to the empty string. In the future it might work for non-empty strings if the caller is sufficiently privileged.</para>
This is from an earlier version of the API, session_id was removed in
commit 36fc7a6d Author: David Zeuthen davidz@redhat.com Date: Mon Jul 20 18:49:25 2009 -0400
Add support for querying and revoking temporary authorizations Also change how authentication agents are registered (take a Subject instead of the session-id) and add convenience functions to asynchronously construct a PolkitUnixSession object given a process id (by querying ConsoleKit).
Probably should remove the Note paragraph as well.