[Zope] anonymous is blind

taliesin@nvg.org taliesin@nvg.org
Tue, 12 Oct 1999 16:33:05 +0200


* gtk (gtk@well.com) [991012 14:43]:
> I can't view my Zope server without authenticating, despite checking the
> "Access contents information", "View" and "View management screens"
> permissions for Anonymous in my root folder's security tab, plus making sure
> that Acquire Permission Settings is checked for all DTML methods referred to
> by my index_html method.
> 
> My traceback on the access denied is:
> 
>   File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_In.py, line 682, in
> renderwob
>     (Object: PARENTS[0].objectValues(['Folder']))
> Unauthorized: 0

I had similar problems... my index_html DTML Method in the root folder ran
another DTML Method, a sitemap built by the tree-tag. Changing the
index_html to a DTML Document fixed it, anonymous users could view, but the 
sitemap didn't work. No matter what I did with permissions 'n roles on
no matter what file/folder, the only way I could have an index_html in the
root folder being a method and not a document, was to not run any other
(complex) method from it...


tal., being as far zen as you can possibly get