APIv4 getFields - Declare missing 'permission' prop
authorcolemanw <coleman@civicrm.org>
Thu, 10 Aug 2023 22:00:16 +0000 (18:00 -0400)
committercolemanw <coleman@civicrm.org>
Sun, 20 Aug 2023 14:53:47 +0000 (10:53 -0400)
Civi/Api4/Generic/BasicGetFieldsAction.php

index 4560013586d26c510e500955518facaaa442d0dc..245373297a32b127d98c7df85c1bb033d16821a5 100644 (file)
@@ -363,6 +363,10 @@ class BasicGetFieldsAction extends BasicGetAction {
         'data_type' => 'Boolean',
         'default_value' => FALSE,
       ],
+      [
+        'name' => 'permission',
+        'data_type' => 'Array',
+      ],
       [
         'name' => 'output_formatters',
         'data_type' => 'Array',