I have been using OG Moderation successfully on my site for several months, then started getting reports from users that it was no longer working. The only changes that I have been making to the site are module upgrades. I could not identify the source of the problem so I:

- Did a fresh install with the latest core and modules (see attached png).
- Created a group content type called OG Group and added field Group Roles and Permissions
- Created a group content, content type called OG Group Content and created both published and unpublished content
- Gave OG Administrator role all permissions in Home » Administration » Configuration » Organic groups » OG permissions overview
- Confirmed OG Administrator role has all permissions in Home » Administration » Configuration » Organic groups » OG permissions overview
- Set field Group Roles and Permissions in OG Group to Override Default Roles and Permissions (needed for my particular use case)
- Added authenticated users: og_admin and og_member
- Added users og_admin and og-member to OG Group and gave og_admin the Administrator role
- Created a view to pull ALL OG Content regardless of whether it is published or not

- THE ISSUE: og_admin can only ever see the published content listed in the view regardless of what Access restrictions they are assigned (None, OG permission, Permission, Role) - I even tried no restrictions and still the og-admin only sees the published content. They need to see the unpublished content in their list as well.

I feel like I must be missing something in the settings. Any insight would be appreciated. Thanks!!

CommentFileSizeAuthor
Drupal core and modules versions.png53.67 KBsassafrass
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shenzhuxi’s picture

I just fix a bug about the access. Please check is it fix your problem.

paranojik’s picture

Had similar problems. I can confirm that the problem is fixed in -dev. Thanks!

shenzhuxi’s picture

Assigned: Unassigned » shenzhuxi
Category: Support request » Bug report
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

frikovc’s picture

Version: 7.x-2.1 » 7.x-2.2
Priority: Normal » Critical

This fixes the view unpublished permission but have a huge performance hit and practically kills my page for authenticated users with very long (cca 25s) loading times. Without module (specifically function og_moderation_node_grants($account, $op) ) pages loads in 3-5s for authenticated users.

This applys to version 2.2. and 2.x-dev.