I am using Drupal 7.25 (I need to update to 7.26) and organic groups 7.x-2.4. I currently have public and private groups working. I have two users (admin and a normal user). I have a menu tab that opens the og list (/og-list) view which I want to list all groups (public or private)

Currently all public groups show up for the normal user. The private groups are still not shown in this list to the normal user. If I log in as admin they see all private and public groups.

How can I make private groups show up in this list to all users? When they click on the group they shouldn't be able to view the content, just the group name and a subscription link. If I type in the direct link to the group is gives me an an Access is denied page.

Thanks for the help!

1 Answer 1


List Private Organic Groups Publicly without giving access to the node page? That post answered my question. Thanks Damien Tournoud for posting the following answer:

You can tell Views to ignore the access control of some of the Views. On Views 3.x, this parameter can be found under "Query Settings" / "Disable SQL rewriting", and is described as:

Disabling SQL rewriting will disable node_access checks as well as other modules that implement hook_db_rewrite_sql(). The full nodes will stay private, so you should make sure not to link to them in the View so that your users do not land on "Access Denied" (403) pages.

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.