From 9b148c8c4afa812e5c84c4b2fefc937247709c27 Mon Sep 17 00:00:00 2001 From: William MARTIN Date: Thu, 3 Mar 2011 15:43:51 +0100 Subject: [PATCH] Fix precondition for API Issue Create One is supposed to always need auth to post a ticket. --- src/IDF/Views/Api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/IDF/Views/Api.php b/src/IDF/Views/Api.php index c29ef0e..40753f3 100644 --- a/src/IDF/Views/Api.php +++ b/src/IDF/Views/Api.php @@ -55,6 +55,7 @@ class IDF_Views_Api * Create a new issue. */ public $issueCreate_precond = array('IDF_Precondition::apiSetUser', + 'Pluf_Precondition::loginRequired', 'IDF_Precondition::accessIssues'); public function issueCreate($request, $match) {