Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.5
-
Fix Version/s: 4.7
-
Component/s: CiviCRM API
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
If you want to retrieve country-information using the HTTP-api, like e.g.
sites/all/modules/civicrm/extern/rest.php/?api_key=APIKEY&key=SITEKEY&debug=1&version=3&entity=Country&action=get&json=%7b%22id%22%3a1020%2c%22return%22%3a%22iso_code%22%7d&sequential=1
You get an error:
API permission check failed for Country\/get call; insufficient permission: require administer CiviCRM
I would think that for retrieving country information, the 'access CiviCRM' permission should be sufficient.