getting a list of users from ACL_USERS
**trying again** I need to get a list of users in ACL_USERS to create a form where people can assign stuff to different users. Here's the code for the display... <SELECT NAME="AssignedTo"> <dtml-in "acl_users.getUserNames()"> <OPTION LABEL="<dtml-var sequence-item>" VALUE="<dtml-var sequence-item>"><dtml-var sequence-item></OPTION> </dtml-in> </SELECT> But when I try it using a regular (non-manager/owner) it says: Error Type: Unauthorized Error Value: You are not allowed to access getUserNames in this context When I use the site manager, it works fine... What could be wrong? What permissions need to be set so that authenticated users can use "getUserNames" in this context? Thanks, Derek Wilson
On Fri, 2003-10-10 at 10:58, Derek S. Wilson wrote:
But when I try it using a regular (non-manager/owner) it says:
Error Type: Unauthorized
Error Value: You are not allowed to access getUserNames in this context
When I use the site manager, it works fine...
It seems reasonable, by default, that you wouldn't want to allow just *anyone* to examine your user folder. :-) Since you *want* non-default behavior, give this method a proxy role that has sufficient permissions. Once you've got that, you may want to restrict access to this method, granting use of it only to authenticated users, for example. HTH, Dylan
participants (2)
-
Derek S. Wilson -
Dylan Reinhardt