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

Move LineItem acl handling from v3 api to financialacls core extension #18293

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Aug 31, 2020

Overview

Financial acl handling is in core but within core we are starting to restructure into a core-extension
This PR moves over the portion that relates to LineItem.get

Before

Acl directly in v3 api

After

Acl applied using best-practice hook, also available for v4 api

Technical Details

The code is a bit simpler as we didn't need to integrate it with a possibly existing key as the acl is constructed separately

Comments

@seamuslee001

@civibot
Copy link

civibot bot commented Aug 31, 2020

(Standard links)

@civibot civibot bot added the master label Aug 31, 2020
@eileenmcnaughton eileenmcnaughton changed the title Move LineItem acl handling from v3 api to financialacls extension Move LineItem acl handling from v3 api to financialacls core extension Aug 31, 2020
@seamuslee001
Copy link
Contributor

Yeh I think this seems fine, the NOT IN was throwing me a bit but I think this should have enough tests now but very odd still

@seamuslee001 seamuslee001 merged commit fcb7f27 into civicrm:master Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants