[Zope] 2.2.1 and zdiscussion
J M Cerqueira Esteves
jmce@artenumerica.com
Sat, 26 Aug 2000 14:58:19 +0100
Hi
On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote:
> hi
> a clean install won't start properly with ZDiscussion product install. the
> same thing also with ZDiscussion based classes created.
There is a missing comma in the definition of __ac_permissions__ in class
ZDItem (file ZDiscussions.py):
__ac_permissions__ = (
('Manage properties', ('manage_addProperty',
'manage_editProperties',
'manage_delProperties',
'manage_changeProperties',))
)
Just add a comma before the last parenthesis:
__ac_permissions__ = (
('Manage properties', ('manage_addProperty',
'manage_editProperties',
'manage_delProperties',
'manage_changeProperties',)),
)
In this way, __ac_permissions__ becomes a tuple of permissions (one, in
this case), as it should be.
--
jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/