After upgrading from 0.25 to 0.28 I noticed that nobody other than the administrator had the "reparent" button in his page management panel. All others are missing the "ZWiki: Reparent pages" permission and this permission is not listed at all in the security settings of the ZWiki folder, so that I could grant this permission to others.
I also have tried a fresh install of Zope 2.7.0 and ZWiki 0.29cvs with no prevail: the above mentioned permission is not listed in the security settings.
... --SimonMichael, Tue, 23 Mar 2004 11:48:34 -0800 reply
I believe that's #748 missing Zwiki: Reparent pages permission . Does that help ?
fixed for 0.29 --SimonMichael, Tue, 23 Mar 2004 15:32:33 -0800 reply
Status: open => closed
More permissions are missing --Wed, 24 Mar 2004 05:04:53 -0800 reply
Status: closed => open
Bugfix does not solve anything --Wed, 24 Mar 2004 05:11:05 -0800 reply
The quick bugfix to add a line:
security.declareProtected(Permissions.Reparent, 'dummy')
only moves the problem from Permissions.Reparent to Permissions.ChangeType?. Obviously, you only can assign a single permission to a method and the method dummy was already used to keep Permission.ChangeType? visible. Therefore, adding the above line will make Permissions.Reparent visible, but hide Persmission.ChangeType? instead.
Re: Bugfix does not solve anything --Simon Michael, Wed, 24 Mar 2004 12:16:34 -0800 reply
Dang it! :)
Fine - I will unleash.. dummy2 !
This is definitely calling for a unit test. How could we test if the zope permissions are actually present.
quick-fixed again for 0.29 --simon, Thu, 25 Mar 2004 23:14:54 -0800 reply
property change --simon, Thu, 25 Mar 2004 23:15:02 -0800 reply
Status: open => closed