← Back to team overview

dx-packages team mailing list archive

[Bug 474392] Re: indicator-session menus are not policykit aware

 

For anyone who might want to write a patch for this; I think the target
areas are service.c:575 and backend-dbus/actions.c. You'll want to hook
up CanReboot and CanPowerOff to the visibility functions, and hide Shut
Down when that says you can't do it, AFAICS.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-session in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/474392

Title:
  indicator-session menus are not policykit aware

Status in The Session Menu:
  Confirmed
Status in “indicator-session” package in Ubuntu:
  Confirmed
Status in “ltsp” package in Ubuntu:
  Invalid

Bug description:
  indicator-session's shutdown, hibernate etc menus should check if the user has enough rights to invoke them, otherwise they should be hidden or grayed-out.
  While some code for this already exists, it's not working correctly,
  neither in 12.04 (consolekit)
  nor in 14.04 (logind).

  
  [Original description]
  LTSP chroot client built with Ubuntu 9.10 Karmic shows Suspend, Hibernate, Restart and Shut Down in the logout menu 'indicator-applet-session'.  These options should not be available to LTSP Clients.  These options are not available with a 9.04 Jaunty built LTSP chroot.  Previous bug fix that removed these items is bug #282610.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/474392/+subscriptions