[dev] Re: Preferences storage

Jon Parise jon@csh.rit.edu
Fri, 3 Nov 2000 16:22:11 -0500


On Fri, Nov 03, 2000 at 04:13:45PM -0500, Chuck Hagenbuch wrote:

> > On Fri, Aug 25, 2000 at 11:34:07AM -0400, Chuck Hagenbuch wrote:
> 
> Wow. Guess I'm not the only one cleaning out my inbox. =)

Yup, ~/Mail/Lists/horde-dev still has a bunch of messages I need to
review in detail.  Most of them deserve action, too.
 
> > Set $conf['prefs']['params']['user_hook'] = 'user_lookup_function'
> > to specify the name of the lookup function.
> 
> Cool. Do you remember why I wanted this? *sheepish look*

It's useful if you want to somehow hash your users or otherwise
permutate their identity with respect to how the preference source
views them.
 
> I've been thinking about prefs in the face of releasing 2.3, and it
> seems to me that there are some problems we're going to have to
> solve - mainly, the problem that any site with multiple servers that
> have overlapping usernames will have preferences collisions. Also,
> once you have a server stored in prefs, you can't log into any other
> server with that username, because it will pull your prefs and try
> to log into the server in your prefs... etc.

Yes, all good points.  My mine doesn't want to think too hard about
them right now, though. =)

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member