Re: GConf plans for 2.8



Hey,

On Tue, 2004-03-30 at 13:53, Alexander Larsson wrote:
> On Tue, 2004-03-30 at 14:32, Mark McLoughlin wrote:
>  
> >   * API to allow arbitrary stacks of sources:
> > 
> >     http://bugzilla.gnome.org/show_bug.cgi?id=88829
> > 
> >     The patch basically just adds the gconf_engine_get_for_addresses() 
> >     API, but involves significant re-factoring of parts of GConf. The 
> >     idea here is that we could make gconf-editor into a useful sysadmin 
> >     tool which allows you to create new configuration sources and model 
> >     how it would look when added to the default sources list.
> 
> Any way we could use this to somehow change the default configuration
> sources depending on e.g. what groups the user is part of?
> 
> This would allow us to easily configure various kinds of lockdown for
> groups of users. 

	I'm not sure this is the way we'd do it. We'd want some way for
gconf_client_get_default() to return you a stack of sources based on
your group, rather than adding a new gconf_client_get_for_group () API.

	Essentially, GConf at the moment only allows one stack of sources per
daemon. The patch removes that limitation, but I'm not sure that's
useful for this case because we'll want the *default* stack of sources
to be different based on the user's group.

	One thing we would need it for, though, is Havoc's
gconf_client_get_for_session_state() suggestion:

http://mail.gnome.org/archives/desktop-devel-list/2004-March/msg00260.html

	Which would probably give you a stack which included a directory in
your home dir based on your session id or something.

Cheers,
Mark.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]