Fix Endpoint to use single global permission and not array of them

[MAILPOET-1057]
This commit is contained in:
Tautvidas Sipavičius
2017-08-29 15:34:35 +03:00
parent 02e2f0c07a
commit 2f45bb05d7

View File

@ -8,7 +8,7 @@ if(!defined('ABSPATH')) exit;
abstract class Endpoint { abstract class Endpoint {
public $permissions = array( public $permissions = array(
'global' => array(AccessControl::PERMISSION_MANAGE_SETTINGS), 'global' => AccessControl::PERMISSION_MANAGE_SETTINGS,
'methods' => array() 'methods' => array()
); );