Thanks for the useful module! I filed this as a bug, even though it's just an enhancement. If the module grows, though, this could morph into a bug at some point.

og_views_extra_plugin_access_group_member::access() is nearly a duplicate of og_views_extra_is_group_member() -- it seems like the whole body of that member function should be replaced with:

<?php
  return og_views_extra_is_group_member($this->options['membership']);
?>

Comments

kscheirer’s picture

Status: Active » Postponed (maintainer needs more info)

This comes from my limited understanding of the access plugin API for views, I was following a pattern from someone else's code. The current structure seems to be required, though.