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 395887 - lockdown: Restrict Application Launching, default schema values
lockdown: Restrict Application Launching, default schema values
Status: RESOLVED WONTFIX
Product: libgnome
Classification: Deprecated
Component: general
HEAD
Other All
: Normal enhancement
: ---
Assigned To: libgnome maintainer
libgnome maintainer
gnome[unmaintained]
Depends on:
Blocks: 394249 394252 397715
 
 
Reported: 2007-01-12 18:55 UTC by Matt Keenan (IRC:MattMan)
Modified: 2019-02-23 02:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
patch for schema defauts update (3.29 KB, patch)
2007-01-12 18:58 UTC, Matt Keenan (IRC:MattMan)
none Details | Review
updated patch (3.55 KB, patch)
2009-08-11 23:20 UTC, Brian Cameron
none Details | Review

Description Matt Keenan (IRC:MattMan) 2007-01-12 18:55:20 UTC
At Guadec last year in Villanova, one of the topics that came up from Luis's
talk on what our customers want from Gnome was the ability to restrict the gnome
menus.


Here's the solution we've implemented for this exact purpose, simply involves
two new global desktop lockdown keys :

- desktop/gnome/lockdown/restrict_application_launching

  Boolean value, that simply states whether restricted application launching
  is switched on or not.


- desktop/gnome/lockdown/allowed_applications

  A list of string's containing full path's to applications that are allowed.
  e.g. /usr/local/bin/evince etc...

This bug is to record patch required for schemas/desktop_gnome_lockdown.schema.in changes for the two new proposed keys.
Comment 1 Matt Keenan (IRC:MattMan) 2007-01-12 18:58:40 UTC
Created attachment 80130 [details] [review]
patch for schema defauts update

Patch to define defaults for new gconf keys restrict_application_launching, and
allowed_applications in file schemas/desktop_gnome_lockdown.schema.in
Comment 2 Kjartan Maraas 2007-10-01 11:38:58 UTC
Should this be added for 2.21.0? Are we still adding more keys to libgnome now that we are trying to get rid of it?
Comment 3 Bastien Nocera 2008-01-07 19:15:22 UTC
This isn't one bit useful without:
- nautilus and gnome-panel patches
- proper documentation in the sysadmin guide

Not for 2.22. Please file bugs with the patches for nautilus and gnome-panel before committing this.

IMO, it would be easier to remove the unneeded applications from the menus, and use the "disable command-line" schema, which disallows users from launching external apps.
Comment 4 Matt Keenan (IRC:MattMan) 2008-01-08 09:56:46 UTC
Actually there are patches available for nautilus, gnome-panel and pessulus :

See bugs :

   gnome-panel : http://bugzilla.gnome.org/show_bug.cgi?id=394252
   nautilus : http://bugzilla.gnome.org/show_bug.cgi?id=397715
   pessulus : http://bugzilla.gnome.org/show_bug.cgi?id=394249 
Comment 5 Bastien Nocera 2008-01-08 10:01:30 UTC
Somebody needs to learn about bugzilla depends ;)
Comment 6 Brian Cameron 2009-08-11 23:20:03 UTC
Created attachment 140501 [details] [review]
updated patch

Here is the latest patch we apply, slightly different than what was previously reported.
Comment 7 Brian Cameron 2009-11-30 18:35:51 UTC
I just verified that the latest version of the patch is the same version as the patch we currently are applying.

The proposed patches for nautilus and gnome-panel seem generally acceptable.  A patch for pessilus seems trivial and is promised as soon as this patch goes upstream.  I think we have mostly complied with the requests of comment #3.  

Obviously docs need to be updated to provide information about this interface, but getting the docs team involved with writing new docs makes the most sense once the patch is accepted and the documentation people know the interfaces are reasonably stable.

However, this bugs seems to be blocking anything form happening.  Perhaps we should just go ahead and commit this change, the gnome-panel and nautilus changes all together so this feature "just works" as reasonably expected?

Can this go upstream?  Initially it sounded like there was community interest
in getting this working, and this code has been soaking for a long time in our
Solaris releases.  For the most part, people seem to use this feature and find
it useful.  We have been updating this patch as we have resolved bugs, so I
think at this point this code is working well enough for general use (and
lockdown is not a feature which is on by default anyway).
Comment 8 Kjartan Maraas 2011-08-17 13:28:08 UTC
Should this be moved to dconf now? I don't see the lockdown keys anywhere in dconf-editor though?
Comment 9 André Klapper 2019-02-23 02:41:17 UTC
libgnome and libgnomeui were only used in GNOME 2 and are not under active development anymore. Their codebases have been archived:
https://gitlab.gnome.org/Archive/libgnome/commits/master
https://gitlab.gnome.org/Archive/libgnomeui/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality.