Created an attachment (id=33163)
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
Created an attachment (id=33163) hibernate} properties
Check PolicyKit in client's can_{suspend,
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/localauthorit y/50-local. d/disable- suspend. pkla unix-user: * org.freedesktop .upower. suspend
[Disable suspend]
Identity=
Action=
ResultActive=no
ResultAny=no