22 Aug
2001
22 Aug
'01
8:14 p.m.
Todd Loomis writes:
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> Please use "ZopeFind" (--> documentation in ZQR) to restrict content lists to contain only objects the user is authorized to access.
You should look for "obj_roles" and "obj_permission". Dieter