This module is an add-on to Views. It provides an access plugin which detects whether the current user is member of the current group.
This module doesn't work with Views arguments! This access plugin can only work when then view is being displayed in a group context. For example on the group node, or on a node that belongs to a group. If the group node is an argument, views and og_views already provide a validation checkbox to ensure that the current user is a member of the current group OR the current user is a site admin.
So why install this module? If you need finer-grained control. The available user options:
- Not a Group Member
- Group Member or Site Admin
- Group Member Only
There are cases when you really just want to make sure the user is actually a member of the group. Also, I found it useful to be able to explicitly check for the case where the user is NOT a member of the group - and thereby be able to show a completely different view to non-members.
Dependencies: Organic Groups and Views 2
Based On: a patch provided by dereine in #576298: Access plugin: Member of the current group.
Project Information
- Maintenance status: Seeking new maintainer
- Development status: Maintenance fixes only
- Module categories: Organic Groups (OG), Views
- Reported installs: 395 sites currently report using this module. View usage statistics.
- Last modified: February 9, 2012