Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17700

api Contribution.get applies permissions to custom fields regardless of 'check_permission' flag

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      It turns out the caching of custom fields is by permission & this is not bypassed when using the check_permissions = 0 flag.

      The api defaults to check_permissions =0 for php api calls & is forced to 1 for json. Generally php api calls only opt into permissions if there is a reason.

      The permission should be respected across the api call - currently it is not respected WRT retrieving custom data

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: