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

CiviGrant - Fix error when creating grant without permissions #26513

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

colemanw
Copy link
Member

Overview

Fixes a regression in CiviGrant

Before

When creating a grant with checkPermissions disabled (e.g. via API) the permissions were getting tripped by the RecentItem create action.

After

Works correctly with and without permissions.

Technical Details

Regressed due to switch from direct call to API call in 18cbf9f

When creating a grant with checkPermissions disabled (e.g. via API) the permissions
were getting tripped by the RecentItem create action
@civibot
Copy link

civibot bot commented Jun 12, 2023

(Standard links)

@colemanw
Copy link
Member Author

Weird unrelated failures I've been seeing for a few days intermittently in the upgrade tests.

@colemanw colemanw merged commit 1b11059 into civicrm:5.63 Jun 12, 2023
@colemanw colemanw deleted the fixGrantAccess branch June 12, 2023 17:44
@demeritcowboy
Copy link
Contributor

Fails have been happening for a while. I had made a lab ticket https://lab.civicrm.org/infra/ops/-/issues/995.

@MegaphoneJon
Copy link
Contributor

I just ran into this - it looks like this was committed against the master branch? Was that intentional?

@demeritcowboy
Copy link
Contributor

It was backported against 5.63 but not 5.62. I don't know if there's going to be another 5.62 release. Maybe ask in prod maint?

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