[Zope] Access problems

Eric Walstad eric@walstads.net
Mon, 20 Aug 2001 12:53:46 -0700


Hi Todd,

According to the Zope Book, in order to use "objectValues()" the user needs
permission to "Access contents information."  Either check that your users
have this permission on the DTML method that contains this code, or give
this DTML method a Proxy Role that has the permission.

HTH,

Eric.

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Todd
> Loomis
> Sent: Monday, August 20, 2001 12:18 PM
> To: zope@zope.org
> Subject: [Zope] Access problems
>
>
> I've created a list with the code below, however the only person who has
> access this is a manager, however if I delete this my other users have
> access. The roles and permissions shouldn't be a problem as I
> redone 3 to 4
> times, this code does it can anybody explain:
>
> <select name="folder">
> 	<option value="" selected>Select from list</option>
> 	<dtml-with folders>
> 	<dtml-in expr="objectValues('Folder')">
> 		<option value="<dtml-var id>"><dtml-var title></option>
> 	</dtml-in>
> 	</dtml-with>
>
> Todd
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )