Submitted by : JózsefJároli at: 2007-06-25T02:05:27-07:00 (10 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Currently pagemanagement form is displayed if (user.has_permission('Zwiki: Add pages',container), but this can be quite problematic if Add pages right is restricted on a certain page (for instance I just don't want my visitors to add every page under the homepage instead of adding it under the appropriate category): the page management form is displayed but when an user enters a new page title and clicks on the button, the Zope auth dialogue will pop up, and visitors will not be able to add a page.

Workaround --JózsefJároli, Mon, 25 Jun 2007 02:16:07 -0700 reply

replace (user.has_permission('Zwiki: Add pages',container) with (user.has_permission('Zwiki: Add pages',here)