Fixed issue 417, 403 after clicking 'delete this page'.

This commit is contained in:
Loic d'Anterroches 2010-03-16 15:21:17 +01:00
parent 10245113d5
commit dc34829afe

View File

@ -349,7 +349,7 @@ class IDF_Views_Wiki
/** /**
* Delete a Wiki page. * Delete a Wiki page.
*/ */
public $delete_precond = array('IDF_Precondition::accessDownloads', public $delete_precond = array('IDF_Precondition::accessWiki',
'IDF_Precondition::projectMemberOrOwner'); 'IDF_Precondition::projectMemberOrOwner');
public function delete($request, $match) public function delete($request, $match)
{ {