Problem/Motivation
tracker_cron() entity queries don't have ->accessCheck(FALSE) - this means that if you're using node grants, you may not get all of the nodes indexed.
Proposed resolution
Remaining tasks
Test coverage.
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3105711.patch | 892 bytes | catch |
Comments
Comment #2
catchComment #3
heddnIt is unfortunate that it will be difficult to test. Nodes don't have access limitations normally affixed to them. 'entity_test' does, but then we're not using node any more and tracker won't query it. But perhaps for inspiration, look at https://git.drupalcode.org/project/migrate_plus/blob/8.x-5.x/tests/src/K... for a similar type case that we wanted to test.
Tagging for tests and bump to NW for those tests.
Comment #4
xjmI assume this affects D8 too? Thanks!
Comment #6
catchThis was fixed by #2785449: It's too easy to write entity queries with access checks that must not have them.