Contacts with "Access CiviContribute" but not "edit contributions" can no longer view contributions
Replication steps are in the title!
This is a regression from PR 22961.
That calls CRM_Core_Permission::checkActionPermission()
which says in its description, "Check permissions for delete and edit actions", but it's called even when viewing a contribution.