Hi All,

I'm wondering if it's currently possible or if anyone has any suggestions to add a "Content Management" page for a group.

I want to create a view that only group members with a specific role can access.

This view will contain all of the content related to that group, including unpublished nodes and other information.

I currently have a view set up that does list all nodes for a group, however, anyone can currently access this view for any group (by changing the Group ID in the path).

For example, the path to the view is group/%/manage-content

Where % is a contextual filter for GID.

The problem is anyone can replace the GID with another GID and see results for that group.

It would be great to be able to set up a control panel of sorts such that only group admins can view and manage content for a group.

Any guidance or help appreciated. Thanks in advance.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ydahi created an issue. See original summary.

ydahi’s picture

Title: Create Content Management Page for Group » Create Content Management Page for Group Admins
Tankeroo’s picture

Hi there!

I recently figured it out, and I hope the attached view images will help you achieve what you wanted.
The filter is grabbing the data from logged in user (a leader/admin of group), so I didn't have a need to do /%/ in url. Which is definitely more safe.

So, the logged in user only needs to go to /team/content/edit and all content pertaining to his/her group will be displayed for edit.

Hope this helps you!

Soul88’s picture

Status: Active » Closed (outdated)

We thank everyone for their collaboration on this issue, but as the D7 version is no longer supported, we will now close all D7 issues to keep the issue queue a bit tidier. This information won't go anywhere, it just won't show up on the list of open issues anymore.

Please see: https://www.drupal.org/project/group/issues/3163655 and https://www.drupal.org/project/group/issues/3203863#comment-14100281 for more details.