Petr Knapek wrote:
> def manage_addISNGFolder(self, cz_id, title='', key_words=[], header='', footer='',
>                          createPublic=0,
>                          createUserF=0,
>                          REQUEST=None):
>     """Add a new 'ISNG Folder' object with id *id*."""

...

>     ob=ISNGFolder()

...

>     ob.manage_role('Content', ['Access contents information', 'View'])


Your problem is here and I'm betting it's 'cos #ob' isn't an acquisition
wrapper...

Try replacing the above line with:
     ob.__of__(self).manage_role('Content', ['Access contents
information', 'View'])

cheers,

Chris

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to