[Zope] SQLConnectionIds
Dieter Maurer
dieter at handshake.de
Mon Aug 22 12:53:08 EDT 2005
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
More information about the Zope
mailing list