[Freeipa-devel] [PATCH] Update of update

Richard Megginson rmeggins at redhat.com
Mon Aug 20 16:03:49 UTC 2007


Kevin McCarthy wrote:
> Rob Crittenden wrote:
>   
>> Pull some of the logic into the server-side. Change update_user to take a 
>> User object and do the conversion to a dict internally instead.
>>
>> Don't allow the User object to use __setattr__ except for dn and data. We 
>> want them to use setValue() or setValues() so the cidict is used.
>>
>> The ipa-usermod tool is updated to use the new API.
>>     
>
> Rob and I discussed this over IRC.  This introduces a subtle change in
> how updates work - old unchanged values will end up overwriting a value
> someone else may have updated "in the middle".
>   
Do you need some sort of guarantee that the entry has not changed 
between the time it is searched for and displayed to the user, and the 
time its updates are submitted?
> I'm going to take a different shot at this and post a patch for this.
>
> -Kevin
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070820/0a4676c4/attachment.bin>


More information about the Freeipa-devel mailing list