On Friday 01 April 2005 11:34, Florian Lindner wrote:
> > > > ForbiddenAttribute: ('__call__', <zope.app.folder.folder.Folder
> > > > object at 0xb6ee2d6c>)
> > > >
> > > >
> > > > How do I have to call it?
> > >
> > > I do the same without problems.
> > > Is your folder configuration correct (ZCML, interface, implementation)
> > > ?
>
> It works now. I needed to add a permission attribute to the menuItem
> subdirective.
> But why? I'm logged in as a zope,Manager and therefor I should have rights
> to see the site.

Because once you specify a permission for a menu item, the check on the 
'__call__' method is skipped.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to