Determining who can view messages in the og_admin realm should be the same as the og_is_group_admin() function, the administer nodes permission should be an alternate method to access the realm.

I will come back with a patch on this later.

Comments

amitaibu’s picture

I don't think it should be exactly the same, as og_is_group_admin() needs a fully loaded node.

I think we can add to message_plugin_og_admin_accessible_ids() user_access('administer nodes', $account)

Grayside’s picture

Title: OG Admin access determined like og_is_group_admin() » OG Admin access should alternately check "administer nodes" permission.

Yes, that is what I meant. Updating title for clarity.

bluegeek9’s picture

Assigned: Grayside » Unassigned
Issue summary: View changes
Status: Active » Closed (won't fix)