Fix precondition for API Issue Create
One is supposed to always need auth to post a ticket.
This commit is contained in:
parent
29d966cdb3
commit
9b148c8c4a
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user