[Zope] Permissions and roles

Todd Loomis tloomis@dmso.mil
Fri, 24 Aug 2001 08:34:19 -0400


Hi:

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)">
         </dtml-with>
</dtml-if>
<dtml-call "RESPONSE.redirect('./index_html')">

Thanks,
Todd