Fixed issue 417, 403 after clicking 'delete this page'.
This commit is contained in:
parent
10245113d5
commit
dc34829afe
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user