[Cosmo-dev] CMP changes for groups in Cosmo
Vinubalaji Gopal
vinu at osafoundation.org
Wed Feb 7 01:44:16 PST 2007
On Tue, 2007-02-06 at 13:47 -0800, Brian Moseley wrote:
> it might be better for your ui to send a remote add/delete membership
> command every time a name is moved from the left box to the right or
> vice versa. this would keep both the client code and the protocol
> specification simpler.
yeah I could do that, but the problem is with the update button. The
update button updates the group name and this list together. Now with
this new approach, should we just remove the update button? (shud we
also do the same for group name - replace the text box with an inline
edit box)..I am concerned about the symmetry and the lack of
update/cancel button in modify group dialog.
> the wiki page says POST /cmp/group/delete, which is what i'm
> responding to. tacking /delete onto the end of the url is a bad
> practice. the url is meant to identify a resource, not an operation -
> the http method defines the operation.
>
> re-reading rfc 2616, it seems to me that DELETE with parameters is a
> bad idea also. probably the best thing to do is to POST to
> /cmp/group/<groupname>/members and include a parameter that tells the
> server to delete rather than create.
I just followed the cmp user management urls, so can change it to
whichever is correct :)
More information about the cosmo-dev
mailing list