I'm creating a set up in Drupal 7 using Organic Groups and the Subgroups module where there is a Company group, and each company can have multiple Project groups. I'd like to allow users that have access to a Company Group to see all Projects underneath that company in a View, regardless if they're part of the project group or not. From there, a user can either view the project page, or they can subscribe to the project group.

Is it possible to give a user access to a parent group and allow to see all of its child groups in a View, but restrict viewing a page in a child group?

1 Answer 1


Have you tired disabling SQL Rewriting?

In the advanced fieldset in the right column when editing the view, click Query Settings

There is a checkbox "Disable SQL Rewriting" which has help text "Disabling SQL rewriting will disable node_access checks as well as other modules that implement hook_query_alter()."

Try checking that checkbox and saving the View

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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