Hi there, I want to create an admin page for supervisor to grant permissions to fellow workers in a matrix type screen. What I have done is created a list of users underneath top folder, then created a list of projects and assigned permission for update to different roles. So in the codes, I tried to loop through all the users, then find out the permission for every projects, but doesn't seem to pickup the user within the second loop. <dtml-in "WebDevelTest.acl_users.getUserNames()"> looping user: <dtml-var sequence-item><br /> <dtml-let userName=sequence-item> <dtml-in "WebRoot.objectValues('Folder')"> in folder: <dtml-var id> access allowed? <dtml-if expr="acl_users.getUser(userName).has_permission('Change DTML Document', this())"> Yes <dtml-else> No </dtml-if> <br /> </dtml-in> </dtml-let> </dtml-in> Thanks in advance. Cheers, Winnie
participants (1)
-
Winnie Au