[Zope3-Users] Re: Traverse to nearest site in menu action

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Apr 1 21:30:31 EST 2005


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


More information about the Zope3-users mailing list