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

Custom fields not returned if "CiviCRM: administer CiviCRM" not granted for drupal user

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.6
    • Component/s: CiviCRM API
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      A api request using the php api like
      [version] => 3,
      [check_permissions] => false,
      [contact_id] => 714,
      [receive_date] => 2012-06-26,
      [return] => custom_8,
      [contribution_status_id] => 1,
      [custom_10] => 13,
      does only return one custom field, custom_10, if the current Drupal user does not have the right "CiviCRM: administer CiviCRM". [return] => custom_8 and [check_permissions] => false do not show any effect, and removing the condition on custom_10 makes even custom_10 vanishing from the result.

      I cannot reproduce this bug on the demo system as i cannot login as a user without the administer CiviCRM right.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prolineserver Holger Motzkau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: