Issue #2985253 by mbovan, Berdir, amateescu, Sam152: content_moderation_entity_access() wrongly adds uncacheable dependencies (cherry picked from commit 84b9809a)