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
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
Comment #3
jonathanshawI 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.
Comment #4
amateescu commentedLooks good to me!
Comment #6
catchCommitted f122c53 and pushed to 9.2.x. Thanks!