Comment 30 for bug 432598

Revision history for this message
In , Martin Pitt (pitti) wrote :

Created an attachment (id=33162)
Add {Suspend,Hibernate}Allowed D-Bus methods

Add two D-Bus server methods to check whether the caller has the privilege to
suspend or hibernate.

We do that on the server side, since that already has everything set up for PolicyKit querying, instead of adding a new dependency and lots of new code to the client side.