Huh, I assumed this was just a regression, not something that would need
design work.

The design is fairly simple, though it would require one new string.
There should be a PolicyKit permission for shutting down (including
restarting) while other people are logged in, and only admins should
have it. So if you choose either command while other accounts are logged
in, you should get a PolicyKit dialog saying "Other user accounts are
logged in. Shutting down before they log out may cause them to lose
work. To continue, you need to authenticate."

That would answer all three questions: the dialog would be the thing
warning you, if you weren't an admin you'd need an admin to authenticate
for you, and that means the dialog could appear regardless of whether
the active user account is an admin.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/855556

Title:
  "Restart" and "Shut Down" don't work if anyone else is logged in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/855556/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to