Should the session check a negative authorisation?

Matthias Clasen matthias.clasen at gmail.com
Mon Aug 10 12:08:13 PDT 2009


On Mon, Aug 10, 2009 at 9:35 AM, David Zeuthen<david at fubar.dk> wrote:


> Thus, you should be able to just do this check in the user session using
> libpolkit-gobject-1 .. that is, if you don't care about leaking the
> action name "org.freedesktop.consolkit.system.restart" which is more or
> less an implementation detail....

Or you simply call org.freedesktop.ConsoleKit.Manager.CanStop
which was added for just this purpose...


More information about the polkit-devel mailing list