From 4ad3c8cb9116050bbf2c87d6773edd1e6e28cc1c Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 1 Aug 2017 09:02:09 -0600 Subject: [PATCH] * Calendar - allow to invite all users on a distribution list, regardless of calendar permissions --- calendar/inc/class.calendar_uiforms.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 8644807c34..016364c74c 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -449,7 +449,8 @@ class calendar_uiforms extends calendar_ui // Expand mailing lists if($type == 'l') { - foreach($this->bo->enum_mailing_list($participant) as $contact) + // Ignore ACL here, allow inviting anyone in the list + foreach($this->bo->enum_mailing_list($participant, true) as $contact) { // Mailing lists can contain users, so allow for that possibility $_type = is_numeric($contact) ? '' : $contact[0];