Fix Endpoint to use single global permission and not array of them
[MAILPOET-1057]
This commit is contained in:
@ -8,7 +8,7 @@ if(!defined('ABSPATH')) exit;
|
||||
|
||||
abstract class Endpoint {
|
||||
public $permissions = array(
|
||||
'global' => array(AccessControl::PERMISSION_MANAGE_SETTINGS),
|
||||
'global' => AccessControl::PERMISSION_MANAGE_SETTINGS,
|
||||
'methods' => array()
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user