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 Anyone? I'm kinda lost on this one.
* 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
Solution: add skip_unauthorized to EVERY dtml-in.
I can't view my Zope server without authenticating, despite [... lots]
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.
Okay, I finally managed to coerce it to working as a DTML Document by adding skip_unauthorised to the dtml-in loops in my navbar. Cool. As a DTML Method, though, I still have no control over the access. Unrolling standard_html_header (the culprit) and standard_html_footer doesn't help. Unrolling the menubar (I should call it navbar) doesn't either. Finally, unrolling the breadcrumbs doesn't help. Adding skip_unauthorised to some more of the dtml-ins... aha! That worked. Looks like I just wasn't being sufficiently thorough. Regards, Garth. -- <gtk@well.com>
participants (2)
-
gtk -
taliesin@nvg.org