See parent issue #3200985: [meta] Fix undesirable access checking on entity query usages for context and test coverage policy. This issue is major because it blocks #2785449: It's too easy to write entity queries with access checks that must not have them.

workspaces_install() & demo_umami_set_users_passwords() contain entity queries that checks access, but should not.

Issue fork drupal-3208266

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jonathanshaw created an issue. See original summary.

jonathanshaw’s picture

Status: Active » Needs review

I suggest that under the parent issue's test coverage policy it is acceptable for this not to have test coverage, because it would require unusual customisations to encounter, and it's more important to progress the blocked issue.

amateescu’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me!

  • catch committed f122c53 on 9.2.x
    Issue #3208266 by jonathanshaw: EntityQuery accessCheck: installation...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed f122c53 and pushed to 9.2.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.