How can I invalidate cached field access grants for anonymous users?
I was able to use hook_entity_field_access and return an AccessResult $result-&gt;addCacheContexts(['session', 'user.roles.anonymous'])