Fix precondition for API Issue Create

One is supposed to always need auth to post a ticket.
This commit is contained in:
William MARTIN 2011-03-03 15:43:51 +01:00
parent 29d966cdb3
commit 9b148c8c4a

View File

@ -55,6 +55,7 @@ class IDF_Views_Api
* Create a new issue. * Create a new issue.
*/ */
public $issueCreate_precond = array('IDF_Precondition::apiSetUser', public $issueCreate_precond = array('IDF_Precondition::apiSetUser',
'Pluf_Precondition::loginRequired',
'IDF_Precondition::accessIssues'); 'IDF_Precondition::accessIssues');
public function issueCreate($request, $match) public function issueCreate($request, $match)
{ {