Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the blockcache_bypass_node_grants variable. #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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