There is currently a field to display the OG roles but no way to filter or sort by roles. This should just be a matter of expanding on the current views field definition to add filter and sort handlers.

Comments

CarbonPig’s picture

subscribe

This would be a very appealing feature to have.

Conceptually it is related to http://drupal.org/project/og_views_extra

However, the difference would be to filter nodes that the active user is currently a member of.

My use case is using the node reference field that leverages a view.

I'm trying to only make nodes available that are available to the user based on the groups they are a part of.

I think one challenge of the above request is that the D7 version of views has such a flexible permissions system for group founders/admins.

Therefore, if a feature could be created that allowed filtering of content that the member has access to in the group for which they are a member and was overridden by any of the group level permissions, that would be ideal.

Hope these thoughts help.

amitaibu’s picture

There is a discussion going on in #1261376: Entity-ify Roles , that may effect this issue.

ehsankhfr’s picture

Issue summary: View changes

Does anybody like to continue with this issue?