Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | group-gnode-overviw-permission-2774689-2.patch | 573 bytes | DuaelFr |
Comments
Comment #2
DuaelFrComment #3
kristiaanvandeneyndeYup, 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!
Comment #4
kristiaanvandeneyndeI 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.
Comment #5
DuaelFrGood job :)
Comment #8
kristiaanvandeneyndeBad testbot! :)