Further analysis showed that it's not possible to add a policykit check
into the can_{suspend,hibernate} properties. This needs changing the
DK-P D-Bus API to replace the properties with method calls, check
PolicyKit in those method calls, wrapping the new D-Bus call into a new
libdevkit-power-gobjec and rewire the clients (gnome-session, indicator-
applet, gnome-power-prefs) to use the new method instead of the gobject
property.
This is therefore not SRUable, it's way too intrusive.
** Changed in: gnome-power-manager (Ubuntu Lucid)
Status: New => Triaged
** Changed in: devicekit-power (Ubuntu Karmic)
Status: Triaged => Won't Fix
** Changed in: devicekit-power (Ubuntu Karmic)
Assignee: Martin Pitt (pitti) => (unassigned)
** Changed in: gnome-power-manager (Ubuntu Karmic)
Status: New => Won't Fix
** Changed in: gnome-session (Ubuntu Karmic)
Status: Invalid => Won't Fix
** Changed in: gnome-session (Ubuntu Lucid)
Importance: Undecided => Low
** Changed in: gnome-session (Ubuntu Lucid)
Status: Invalid => Triaged
** Changed in: indicator-applet (Ubuntu Lucid)
Importance: Undecided => Low
** Changed in: indicator-applet (Ubuntu Lucid)
Status: Invalid => Triaged
** Changed in: indicator-applet (Ubuntu Karmic)
Status: Invalid => Won't Fix
--
Do not show suspend/hiberate related UI if suspend is disabled in polkit
https://bugs.launchpad.net/bugs/432598
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs