7 Nov
2000
7 Nov
'00
10:30 a.m.
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