[Zope] Set Product Permissions: TypeError?
Jonathan (Listserv Account)
listsmurf@ur.nl
Mon, 2 Apr 2001 14:11:40 +0200
Hi all,
Add a Product, go to 'Define Permissions', change 'Use Database Methods'
from '(disabled)' to 'Use Database Methods' so I can use and call SQL
Methods within my ZClass. But when I try to save my changes I get a
TypeError:
too many arguments, expected 2, got 3
Zope 2.3.0 source release, Python 1.5.2 (Linux). Traceback:
Traceback (innermost last):
File
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
.py, line 222, in publish_module
File
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
.py, line 187, in publish
File
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
(Object: Traversable)
File
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
.py, line 171, in publish
File
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/mapply.
py, line 160, in mapply
(Object: manage_setPermissionMapping)
File
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
.py, line 112, in call_object
(Object: manage_setPermissionMapping)
File
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/AccessControl/Perm
issionMapping.py, line 150, in manage_setPermissionMapping
(Object: Traversable)
TypeError: (see above)
Any ideas? Am I doing something wrong or what?
Thnx!
Jonathan