Re: [Zope-CMF] Should object paste check FTI?

2013-01-11 Thread Wichert Akkerman
On Jan 11, 2013, at 16:11 , yuppie wrote: > Hi! > > > Wichert Akkerman wrote: >>> PortalFolderBase overrides _verifyObjectPaste to add some extra checks >>> on top of OFS's CopyContainer to check if content may be pasted: it >>> copies the permission checking (why doesn't it call the base clas

Re: [Zope-CMF] Should object paste check FTI?

2013-01-11 Thread yuppie
Hi! Wichert Akkerman wrote: PortalFolderBase overrides _verifyObjectPaste to add some extra checks on top of OFS's CopyContainer to check if content may be pasted: it copies the permission checking (why doesn't it call the base class for that?) It does call the base class *if* support for the

Re: [Zope-CMF] Should object paste check FTI?

2013-01-11 Thread Wichert Akkerman
On Jan 11, 2013, at 14:20 , Wichert Akkerman wrote: > PortalFolderBase overrides _verifyObjectPaste to add some extra checks on top > of OFS's CopyContainer to check if content may be pasted: it copies the > permission checking (why doesn't it call the base class for that?) and adds > code to

[Zope-CMF] Should object paste check FTI?

2013-01-11 Thread Wichert Akkerman
PortalFolderBase overrides _verifyObjectPaste to add some extra checks on top of OFS's CopyContainer to check if content may be pasted: it copies the permission checking (why doesn't it call the base class for that?) and adds code to check for allowed types. There is one check missing there that