Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

We have a site with 200K+ nodes that is regularly requiring us to rebuild access permissions; differently, certain users cannot see sections of the site('s nodes). No major changes to permissions (other than adding nodes) are being made.

Can anyone explain why access permissions seem to need to be rebuilt so often? With a large number of permissions, are there strategies for targeting/rebuilding just the nodes that need rebuilding?

share|improve this question

closed as not constructive by kiamlaluno May 11 '12 at 15:37

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.

What modules are you using that set content access permissions? Are they all in contrib or are you building a custom module that is having issues? D6 or D7? –  gapple Mar 12 '12 at 17:03
Are permissions being modified on existing nodes, or are only new nodes not receiving the correct permissions? –  gapple Mar 12 '12 at 17:05

1 Answer 1

The content access permissions need to be rebuild because someone called node_access_needs_rebuild(true). You have to investigate who called it and why he called it.

share|improve this answer
Wrong (you made an assumption). Sorry for not giving complete information... that's not it (it's not that basic), because we're not getting "you need to rebuild...". We're seeing undesirable behaviors such as views loosing all their contents, until perms are rebuilt, because the role has lost the ability to view existing nodes. –  1kenthomas Oct 17 '11 at 21:56
P.S. Thanks ! ! –  1kenthomas Oct 18 '11 at 4:56
So maybe it's the opposite? A module makes a change that should call node_access_needs_rebuild, but doesn't. So rather than being told in a timely matter, you only notice it because it "happens" to be true? –  Letharion Jan 12 '12 at 14:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.