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 ACls on LineItem create to financialacls core extension #18339

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Moves the financial ACL handling from LineItem BAO to the financialacls core extension.

Before

Code in LineItem BAO

After

Code in financialacls core extension.

Technical Details

This actually covers the originally missed situation where financial_type_id is not present on an update

Comments

@seamuslee001

@civibot
Copy link

civibot bot commented Sep 3, 2020

(Standard links)

@civibot civibot bot added the master label Sep 3, 2020
@seamuslee001
Copy link
Contributor

This looks fine to me MOP

@seamuslee001
Copy link
Contributor

@pradpnayak
Copy link
Contributor

Did a quick test with and without patch, works perfectly fine with error when user dont have necessary permission.
Thanks @eileenmcnaughton for cleanup

@eileenmcnaughton eileenmcnaughton merged commit f595584 into civicrm:master Sep 3, 2020
@eileenmcnaughton eileenmcnaughton deleted the line branch September 3, 2020 21:48
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.

3 participants