Skip to content

Conversation

@msonnabaum
Copy link

Core's decision to completely disable block cache if any module implements node_grants is a bit overprotective. If you know how your node_grants modules work and you only apply block cache to blocks you know are safe, there's no reason you should have to resort to hacking core to get this functionaliy.

This patch introduces a block_cache_node_access_bypass variable that can be set in $conf that will bypass this check.

I've got similar patches for D8 and D7 in the core queue (http://drupal.org/node/186636#comment-5869514), but it seems unlikely that I'd get this into D6, so I'm thinking it makes more sense to go straight into pressflow.

Setting this variable allows for the node_grants check to be bypassed
without hacking core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant