Submitted by : simon at: 2004-03-13T15:44:27+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

solved --simon, Sun, 14 Mar 2004 21:50:18 -0800 reply

ArchetypesTool?.py's manage_installType has a backwards permission declaration which corrupted the permission list. Fixed it by removing the Archetypes and Zwiki products, restarting zope, replacing Zwiki, restarting zope.

property change --simon, Sun, 14 Mar 2004 21:50:24 -0800 reply

Status: open => closed

property change --SimonMichael, Tue, 23 Mar 2004 11:49:50 -0800 reply

Title: 'IssueNo0748? "manage_installType" where the Zwiki: Reparent pages permission should be' => 'IssueNo0748? missing Zwiki: Reparent pages permission'

archetype fix --SimonMichael, Tue, 23 Mar 2004 11:52:41 -0800 reply

If you want keep Archetypes installed, switch the arguments in manage_installType's security declaration in Archetypes/ArchetypesTool?.py before restarting zope. Or perhaps upgrading to AT fixes it. I'll mention this in #archetypes.

not quite! --SimonMichael, Tue, 23 Mar 2004 15:29:49 -0800 reply

Andreas reports this didn't fix it. We had to replace:

security.declareProtected(Permissions.Reparent, 'dummy')

around line 62 of ZWikiPage.py, which I had added and then removed thinking I had found the cause. A double bug. I think. Fixed for 0.29.