From cbb5ec3f1a30b69ab12114c77569142fa9e7a7a1 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 15 Aug 2023 07:46:28 +1000 Subject: [PATCH] dev/core#4498 Ensure that users without administer civicrm permission can use the Mailing Autocomplete --- Civi/Api4/EntitySet.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Civi/Api4/EntitySet.php b/Civi/Api4/EntitySet.php index d8a82fcb05..b77fdae15a 100644 --- a/Civi/Api4/EntitySet.php +++ b/Civi/Api4/EntitySet.php @@ -48,7 +48,9 @@ class EntitySet extends Generic\AbstractEntity { } public static function permissions() { - return []; + return [ + 'get' => [], + ]; } /** -- 2.25.1