Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomValue gettree api - More accurate permission check #12449

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Jul 10, 2018

Overview

Fix for civicrm/org.civicrm.civicase#110

Before

Cannot call the gettree api from ajax without administer CiviCRM permission.

After

Can call the gettree api from ajax with permission to view the main object.

@civibot
Copy link

civibot bot commented Jul 10, 2018

(Standard links)

@colemanw
Copy link
Member Author

Ping @pradpnayak

@pradpnayak
Copy link
Contributor

Hi @colemanw,

Thanks for the patch. It works now when gettree action is called from ajax.

@colemanw colemanw merged commit 2344e6e into civicrm:master Jul 12, 2018
@colemanw colemanw deleted the gettree branch January 30, 2020 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants