WebDAV MKCOL (was: [Zope-CMF] UnpickleableError)

seb bacon seb@jamkit.com
Fri, 25 May 2001 18:01:19 +0100


* Tres Seaver <tseaver@palladion.com> [010525 17:19]:
> On Fri, 25 May 2001, seb bacon wrote:
> 
> > Well, I did it anyway.  Patch attached if anyone's interested.
> 
> Your patch makes the roles for MKCOL be ('Anonymous',) -- is this
> intended?  At any rate, this is "core Zope" stuff;  you should probably
> submit the patch to the Collector:

Yes, it is intended: the security check is done inside MKCOL by doing
a _verifyObjectPaste.  I wasn't sure about submitting this to the
collector, because:

 - Perhaps a MKCOL_factory is more appropriate?  It'd be good to have
   some input on this.  I thought not because I simply couldn't
   envisage a scenario where one would want anything other than the
   current folder type to be created, but perhaps that's not a good
   enough reason...

 - Although it's a zope issue, it's only relevant to the CMF at the
   moment.  So I thought feedback from this list would be a good idea,
   first. 

seb