After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645419 - honor lockdown settings
honor lockdown settings
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-21 16:27 UTC by Ray Strode [halfline]
Modified: 2011-03-21 23:51 UTC
See Also:
GNOME target: 3.0
GNOME version: ---


Attachments
manager: honor disable-log-out lockdown configuration (4.39 KB, patch)
2011-03-21 16:35 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2011-03-21 16:27:18 UTC
+++ This bug was initially created as a clone of Bug #645335 +++

I don't see any code for honoring the disable-log-out setting.  I guess we should.

Ray Strode [halfline] [developer] 2011-03-21 16:25:28 UTC Comment 7

gnome-session needs to honor it, too.  I'll clone this bug.
Comment 1 Ray Strode [halfline] 2011-03-21 16:35:09 UTC
Created attachment 183963 [details] [review]
manager: honor disable-log-out lockdown configuration

Right now we have a disable-log-out configuration key

in the org.gnome.desktop.lockdown schema that we superficially
support in the UI, but disregard when servicing the dbus
session manager interface.

This commit makes gnome-session prohibit log out via its D-Bus
interface, if log out is locked down.
Comment 2 Ray Strode [halfline] 2011-03-21 16:36:10 UTC
uhh not sure why this is cloned to epiphany
Comment 3 Vincent Untz 2011-03-21 23:51:03 UTC
Thanks, I've also added code to check for this in Shutdown/CanShutdown, and added a paranoid check later on.