[Cosmo-dev] [proposal] Cosmo Management Protocol 0.4

Travis Vachon travis at osafoundation.org
Thu Oct 12 14:17:20 PDT 2006


I've filed enhancement bug 7044 for these changes. Pointers to the 
amended proposal, the new CMP specification, and a patch for these 
changes can be found in the bug:

https://bugzilla.osafoundation.org/show_bug.cgi?id=7044

-Travis

Brian Moseley wrote:
> On 10/9/06, Travis Vachon <travis at osafoundation.org> wrote:
>
>> I would like to propose three specific changes to the protocol (a
>> version that may be more readable can be found at
>> http://wiki.osafoundation.org/bin/view/Journal/CMPZeroDotFourProposal):
>
> +1, with the following caveats:
>
>> In addition, to provide better performance for multi-user deletion, I
>> would like to propose
>>
>> "POST /cmp/user/delete"
>>
>> with a message body like
>>
>> "user=user1&user=user2&...&user=userN"
>>
>> as a synonym for
>>
>> "DELETE /cmp/user/user1"
>> "DELETE /cmp/user/user2"
>> ...
>>
>> "DELETE /cmp/user/userN"
>
> the content type of the request should be the same as that of a normal
> html form submission over POST (i can't remember the specific type,
> but you can find it in the html spec), and the usernames should be url
> encoded.
>
>> Specifically, I propose we return 3 new pieces of information for 
>> each user:
>>    * Date Created (Date) (XML tag <created>)
>>    * Date Modified (Date) (XML tag <modified>)
>>    * Administrator (Boolean) (XML tag <administrator>)
>
> i suggest that the administrator element be an empty element whose
> presence determines whether or not the account has admin privileges
> (as opposed to an element with a string value that clients have to
> interpret as boolean).
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev



More information about the cosmo-dev mailing list