From dc34829afe9ee29d47c56effe783527d7e65ef1e Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Tue, 16 Mar 2010 15:21:17 +0100 Subject: [PATCH] Fixed issue 417, 403 after clicking 'delete this page'. --- src/IDF/Views/Wiki.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views/Wiki.php b/src/IDF/Views/Wiki.php index 3e3374b..cd68cb2 100644 --- a/src/IDF/Views/Wiki.php +++ b/src/IDF/Views/Wiki.php @@ -349,7 +349,7 @@ class IDF_Views_Wiki /** * Delete a Wiki page. */ - public $delete_precond = array('IDF_Precondition::accessDownloads', + public $delete_precond = array('IDF_Precondition::accessWiki', 'IDF_Precondition::projectMemberOrOwner'); public function delete($request, $match) {