Problem/Motivation

When using Group Node to attach nodes to a group, the group nodes overview is not secured so any visitor can see it.

Proposed resolution

Use the 'access group_node overview' group permission on the view.

Remaining tasks

Patch, Review, Commit

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DuaelFr created an issue. See original summary.

DuaelFr’s picture

kristiaanvandeneynde’s picture

Yup, this actually causes the GroupOperations block to not show either! :)

I think we need a hook_update_N() to update the view for anyone who already has the module installed, though.

P.S.: Thanks for all the recent patches, much appreciated!

kristiaanvandeneynde’s picture

Status: Needs review » Fixed

I fixed this as part of commit 8577f388662b96c81417e3853cb6c25d3391850a without remembering we had an issue for it. I also added an update hook to that commit to update existing sites' group_nodes view.

DuaelFr’s picture

Good job :)

Status: Fixed » Closed (fixed)

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

Status: Closed (fixed) » Needs work

The last submitted patch, 2: group-gnode-overviw-permission-2774689-2.patch, failed testing.

kristiaanvandeneynde’s picture

Status: Needs work » Closed (fixed)

Bad testbot! :)