Todd Loomis writes:
I'm trying to set roles and permissions to folders as they are created by the users the a form. However I get this error:
Error Type: TypeError Error Value: too many arguments; expected 5, got 6
Here's my code, can anybody assist me?
<dtml-if expr="_.SecurityCheckPermission('Add Folders', this())"> <dtml-with "folders"> <dtml-call expr="manage_addFolder(id=REQUEST['FolderName'], title=REQUEST['FolderName'])"> </dtml-with> <dtml-with "REQUEST['FolderName']"> <dtml-call "manage_addProperty('View','Access contents information',['PAO','Manager'],1,REQUEST)"> You want to set permissions.... Why do you use "manage_addProperty"...
You call it with too many arguments.... Dieter