From 9853619e4e88e46f1ce1e0498170b1a808852885 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 26 Feb 2015 16:05:16 -0700 Subject: [PATCH] CRM-15854 - CRM_Mailing_Info - Export workflow details to Angular --- CRM/Mailing/Info.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index 8f12688693..8e306b9793 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -144,10 +144,14 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info { array('value' => 'Public Pages', 'label' => ts('Public Pages')), array('value' => 'User and User Admin Only', 'label' => ts('User and User Admin Only')), ), + 'workflowEnabled' => CRM_Mailing_Info::workflowEnabled(), ), )); CRM_Core_Resources::singleton()->addPermissions(array( 'view all contacts', + 'create mailings', + 'schedule mailings', + 'approve mailings', )); return $result; -- 2.25.1