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 permission checks from Query & BAO to financialacl extension #22495

Merged
merged 2 commits into from
Jan 14, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Move permission checks from Query & BAO to financialacl extension

I'll rebased this once the MOP one is merged

Before

Core code doing financial acl checks in Contribution_BAO & BAO_Query

After

Moved to the extension

Technical Details

I don't think we need to early return for the other financial reports extensions - I don't there there would be performance impact if we got an extra WHERE financial_type_id IN (1,2) - it was mostly just a transitional thing I think

Comments

Anything else you would like the reviewer to note

@civibot
Copy link

civibot bot commented Jan 13, 2022

(Standard links)

@colemanw
Copy link
Member

Ok, cleanup makes sense.

@colemanw colemanw merged commit 31f306c into civicrm:master Jan 14, 2022
@eileenmcnaughton eileenmcnaughton deleted the fin2 branch January 14, 2022 18:30
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