Add permissions to manage automations

[MAILPOET-4287]
This commit is contained in:
Jan Jakes
2022-05-18 14:51:31 +02:00
committed by Veljko V
parent 73776206cc
commit d9c47a40f2
4 changed files with 20 additions and 2 deletions

View File

@@ -419,7 +419,7 @@ class Menu {
true,
$this->setPageTitle('Automation Editor'),
'Automation Editor',
AccessControl::PERMISSION_MANAGE_EMAILS,
AccessControl::PERMISSION_MANAGE_AUTOMATIONS,
'mailpoet-automation-editor',
[$this, 'automationEditor']
);