Nicholas Wieland wrote at 2005-8-22 11:47 +0200:
>Again, this problem is making me mad :)
>This is a simple TTW PageTemplate I'm using:
> 
><html>
>  <body>
>  <ul tal:repeat="dba here/SQLConnectionIDs">
>    <li tal:content="dba"> placeholder </li>
>  </ul>
>  <body>
></html>
> 
>This works without any problem, returning a list of tuples.
>The same template in a FS based product raises a site error:
> 
>Unauthorized: You are not allowed to access 'SQLConnectionIDs' in this context 
>(Also, an error occurred while attempting to render the standard error 
>message.) 

"SQLConnectionIDs" does not have an explicit security declaration.
Therefore, it is protected by the folder's "object permission".
Looks like the visitor does not have this permission.

"VerboseSecurity" may help you to analyse such problemes easier...
-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to