From 748032235c79f7902cd5b3d8cdb8b3b1952f110f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 8 Jan 2016 17:13:03 -0500 Subject: [PATCH] Declare permission for api.getfield --- CRM/Core/DAO/permissions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/DAO/permissions.php b/CRM/Core/DAO/permissions.php index 6e335f41ab..96597a7935 100644 --- a/CRM/Core/DAO/permissions.php +++ b/CRM/Core/DAO/permissions.php @@ -569,7 +569,7 @@ function _civicrm_api3_permissions($entity, $action, &$params) { elseif ($action == 'setvalue' || $snippet == 'upd') { $action = 'update'; } - elseif ($action == 'getfields' || $action == 'getspec' || $action == 'getoptions') { + elseif ($action == 'getfields' || $action == 'getfield' || $action == 'getspec' || $action == 'getoptions') { $action = 'meta'; } elseif ($snippet == 'get') { -- 2.25.1