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.
For users without the 'administer nodes' permission, the og delete group for (as set up in og_node_delete_group_form), is misleading. It provides the option to "Delete all group posts which don't also belong to another group," but no action is taken upon form submission. The form should either not provide the option to users not allowed to execute it, or should correctly execute the action.
The attached patch takes the latter approach, by adding the handler og_node_delete_confirm_submit to the form even when the user doesn't have the 'administer nodes' privilege.
Comment | File | Size | Author |
---|---|---|---|
og_delete_group.patch | 881 bytes | cpennington | |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedcommitted. thanks.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.