upower/devkit-power-gobject
Martin Pitt 821ecf9125 Check PolicyKit in client's can_{suspend,hibernate} properties
Check for PK privileges in UpClient's can_{suspend,hibernate} properties, so
that clients like gnome-session or gnome-power-manager hide the related actions
if the admin or OEM disabled suspend/hibernate through a PolicyKit .pkla file
like

$ cat /etc/polkit-1/localauthority/50-local.d/disable-suspend.pkla
[Disable suspend]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend
ResultActive=no
ResultAny=no

https://bugs.freedesktop.org/show_bug.cgi?id=26473
2010-02-09 10:42:38 +00:00
..
.gitignore trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
devicekit-power.h Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
dkp-client.c Check PolicyKit in client's can_{suspend,hibernate} properties 2010-02-09 10:42:38 +00:00
dkp-client.h Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
dkp-device.c Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
dkp-device.h Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
dkp-enum.c Correct a description string from one of the new enums 2009-07-13 12:34:13 +01:00
dkp-enum.h devkit-power-gobject/up-enum.h be gone 2010-02-06 13:46:03 +00:00
dkp-history-obj.c Add some self tests and fix up some obvious bugs 2009-09-11 13:51:28 +01:00
dkp-history-obj.h trivial: rename some internal defines for the upower move 2010-01-18 14:04:24 +00:00
dkp-qos-obj.c trivial: add lots of GErrors to the gobject library, and avoid using egg_warning 2009-02-27 13:18:57 +00:00
dkp-qos-obj.h trivial: rename some internal defines for the upower move 2010-01-18 14:04:24 +00:00
dkp-stats-obj.c trivial: add lots of GErrors to the gobject library, and avoid using egg_warning 2009-02-27 13:18:57 +00:00
dkp-stats-obj.h trivial: rename some internal defines for the upower move 2010-01-18 14:04:24 +00:00
dkp-version.h.in Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
dkp-wakeups-obj.c trivial: add lots of GErrors to the gobject library, and avoid using egg_warning 2009-02-27 13:18:57 +00:00
dkp-wakeups-obj.h trivial: Add some useful GObjects for client and server use 2010-01-26 11:39:14 +00:00
dkp-wakeups.c Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
dkp-wakeups.h Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
Makefile.am devkit-power-gobject/up-enum.h be gone 2010-02-06 13:46:03 +00:00
up-client.h trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
up-device.h trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
up-history-obj.h trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
up-qos-obj.h trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
up-stats-obj.h trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
up-wakeups-obj.h trivial: Add some useful GObjects for client and server use 2010-01-26 11:39:14 +00:00
up-wakeups.h trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00