Submitted by : simon at: 2003-10-26T21:31:45+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

When installing ZWiki 0.13.0 on Zope 2.6, I don't get the Add comments to wiki pages permission.

SimonMichael, 2002/12/05 19:52 GMT (via web):
You don't see Zwiki: Add comments to pages at the bottom of the security screen ? If not, check /Control_Panel/Products/ZWiki for a traceback.

Tom Hoffman, There isn't a traceback. It is working ok otherwise. I only have these choices for permissions:

Zwiki: Change regulations
Zwiki: Edit pages
Zwiki: Rename pages
Zwiki: Reparent pages

SimonMichael, 2002/12/05 20:26 GMT (via web):
That's weird. Is this true for any folder you try, eg the root folder, or a zwiki page in the root folder ? Are you inside a CMF site ? Are there any warnings about ZWiki permissions in the debug event log when zope starts ?

Yep. Where is the debug event log exactly? I am not using CMF. It is the same in any folder or page.

SimonMichael, 2002/12/05 21:03 GMT (via web):

Thanks. I don't see any errors.

2002/12/06 02:01 GMT (via web):
Same thing here - Zope2.6.0, just downloaded latest Wiki, there is no permission.

2002/12/06 02:03 GMT (via web):
Nothing in debug too

2002/12/06 02:14 GMT (via web):
Could this be the reason? There is no permission defined for comments here

# this class and ParentsSupport? still use old style __ac_permissions__=( (Permissions.Change,(PUT,manage_edit,manage_upload,editform,)), (Permissions.Rename,(rename,)), (Permissions.FTP,(manage_FTPstat,manage_FTPget,manage_FTPlist)), ) \ + ParentsSupport?.__ac_permissions__

2002/12/06 02:15 GMT (via web):
Sorry, that was in

2002/12/06 02:33 GMT (via web):
proposed solution - add the following to


to __ac_permissions__ of module

SimonMichael, 2002/12/06 02:37 GMT (via web):
Doh! I now see the same problem here. Thanks.

2002/12/06 02:51 GMT (via web):
Glad to help. Sorry for the anonymity. Neat product.

SimonMichael, 2002/12/06 03:19 GMT (via web):
After adding the ClassSecurityInfo?() to fix a 0.12 issue, these were giving me "conflicting security declarations" warnings:

        (Permissions.Append, ()),
        (Permissions.ChangeType, ()),

though this one doesn't:

        (Permissions.Delete, ()),

Old and new permissions declarations are supposed to coexist but I don't understand where this latest problem comes from. So I think I'll have to go ahead and finish the job of switching to the new-style declarations.

SimonMichael, 2002/12/06 04:24 GMT (via web):
This is in CVS now. My tests aren't good enough to say this change hasn't broken anything, so I'd appreciate as many testers as possible. NB the proposed solution above isn't a complete fix but might also work for you.

2002/12/06 14:57 GMT (via web):
Tom Hoffman:

I did a CVS checkout, now I get this traceback:

Traceback (innermost last):

Module App.RefreshFuncs?, line 182, in performSafeRefresh

Module App.RefreshFuncs?, line 169, in performRefresh

Module OFS.Application, line 772, in reimport_product

Module OFS.Application, line 541, in import_product

Module None, line 12, in ?

Module None, line 43, in ?

Module None, line 18, in ?

Module None, line 72, in ParentsSupport?

AttributeError?: Products.ZWiki.Permissions module has no attribute View

SimonMichael, 2002/12/06 15:34 GMT (via web):
I see.. it depended on CMF being installed. It should work better now.

This fix was included in release 0.13.1.


... --betabug, Wed, 21 Feb 2007 08:11:46 +0000 reply
Name: #385 taren => #385 No Zwiki: Add comments to wiki pages permission Category: user-editing => admin-installing Severity: funded => normal Status: open => closed