Hi,

On Sun, Jan 21, 2007 at 07:06:36PM -0500, Roy Mathew wrote:
> Hi Folks,
> 
> I am trying to create a custom Site object, using the below
> declarations; all goes well when addding an object O1 to the QSite,
> but when trying to delete object O1, I get:
> 
>   ForbiddenAttribute: ('__delitem__', <...QSite object at 0xa61dcd6c>)

[snip]

>      <require permission="zope.ManageContent"
>         set_schema="zope.app.container.interfaces.IWriteContainer" />

IWriteContainer is not a schema but an api. Use 'interface' instead of
'set_schema'.

Regards,

Frank
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to