Re: [siesta-dev] preferences

[prev] [thread] [next] [lurker] [Date index for 2002/10/11]

From: Richard Clamp
Subject: Re: [siesta-dev] preferences
Date: 15:46 on 11 Oct 2002
On Friday, Oct 11, 2002, at 13:24 Europe/London, Simon Wistow wrote:

> On Thu, Oct 10, 2002 at 05:45:08PM +0100, Nicholas Clark said:
>> However, is there any sort of sanity locking - presumably a race 
>> condition
>> can exist where (say) two e-mails both requesting configuration 
>> changes
>> can arrive, execute simultaneously:

Last change wins.  I think most of the by email changes be gated by ack 
messages anyhow, so that I can't surreptitiously upset you by spoofing 
an envelope and asking for extra header munging.

> In general, plugins (and hence stuff configured by email) don't update
> preferences (the fact that the Submit one does it is actually a bit of 
> a
> hack)

In general this is because there's a lot of code that just doesn't 
exist yet.

Also I've not yet put any code in the Request plugin (the semi-clever 
thing that handles foo-request@ emails), which will be doing a lot of 
this stuff.

>  - this will be done by the web interface or nacho so if people are
> stupid enough to be messing round with the two interfaces at the same
> time then, well, they get what they deserve.

You're forgetting per-user configuration[0], who if aren't using web 
sure as hell won't be using nacho.

[0] or maybe you're just blocking it from your mind to avoid the pain.

-- 
Richard Clamp <richardc@xxxxxxxxx.xxx>


There's stuff above here

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52