How to prevent non-group-members from seeing group content?

How can I prevent non-group-members from seeing content (blog posts, bookmarks, pages, etc.) that comes from the groups of which they are not members?

  • The simple answer is to set the contents access to the group.

    If it's the case where you want to force it to be that access for all groups you'll need to write a plugin to modify the group access.  There are hooks for the the access permissions, or you can force it on object creation.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking