Allow pingBridge endpoint for all users with access to the plugin admin

We call the endpoint on the admin pages and the restricted access was causing
that editor users were getting false error notices.
[MAILPOET-6189]
This commit is contained in:
Rostislav Wolny
2024-08-14 10:12:37 +02:00
committed by alex-mpoet
parent 9feb0433e6
commit f022cc23fc

View File

@@ -57,6 +57,7 @@ class Services extends APIEndpoint {
public $permissions = [
'global' => AccessControl::PERMISSION_MANAGE_SETTINGS,
'methods' => ['pingBridge' => AccessControl::PERMISSION_ACCESS_PLUGIN_ADMIN],
];
public function __construct(