On 9/19/07, Morgen Sagen <[EMAIL PROTECTED]> wrote:

> Is the best way to do this to have Chandler iterate all the user's
> accounts for this server and ask Cosmo for the list of each account's
> published collections to see if this URL matches it?  Or is there
> another request Chandler could make?

no, that's the best way, using mc's collection discovery mechanism.
the server does not allow any other authenticated user to do anything
in your home collection, so any collections created in your home
collection were either created by you (published with chandler or
created by another client) or by somebody using a ticket. either way,
your account will have been recorded as the owner of the collection.

the exception to this rule is that an admin user can do anything he
wants in your home collection, including creating collections and
granting tickets. he'd be recorded as the owner of anything he
creates, and if you try to access it, you'll get a forbidden response.
in 0.8 we have relaxed a bit so that even if an admin creates
something in your home collection you have full access to it, but
that's only implemented for dav right now.

it might be helpful for atom and mc to include the username of the
owner in their respective collection discovery documents so that you
can use that information if you want to.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Design" mailing list
http://lists.osafoundation.org/mailman/listinfo/design

Reply via email to