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 36fc7a6d358c1d373c181191da6265a538a71dae
> Author: David Zeuthen <email@example.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.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/32.