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

APIv4 - filter getActions results based on user permissions #17540

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Jun 7, 2020

Overview

Makes the api explorer and search builder more user-friendly by only showing actions the user has permissions to use.

Before

All actions returned by APIv4 getActions.

After

APIv4 getActions filtered by those the user has permission to execute, if checkPermissions is enabled.

@civibot
Copy link

civibot bot commented Jun 7, 2020

(Standard links)

@civibot civibot bot added the master label Jun 7, 2020
@eileenmcnaughton eileenmcnaughton merged commit 10ba4c7 into civicrm:master Jun 8, 2020
@eileenmcnaughton eileenmcnaughton deleted the getActionsPerm branch June 8, 2020 01:59
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.

2 participants