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.
Can you please add a "delete own submission" permission so that it will be possible to prevent users from deleting their submission.
This patch works for me. (at least after one testing =) )
Comment | File | Size | Author |
---|---|---|---|
#2 | webform_delete_permission.patch | 3.31 KB | quicksketch |
webform-6.x-2.2-add_delete.patch | 3.08 KB | shemgp | |
Comments
Comment #1
shemgp CreditAttribution: shemgp commentedforgot to check status for patch
Comment #2
quicksketchThis looks great. Here's a Drupal 5 port. Even though Drupal 5 didn't have "delete" permissions separate from "edit", it's still a useful addition and it keeps the code more consistent and easier to maintain.
However, both versions need to have an upgrade path, otherwise existing sites will find that users are suddenly not able to delete submissions, but they were able to previously.
Comment #3
quicksketchMoving to 3.x, as 2.x is no longer being developed.
Comment #4
quicksketchLet's merge this with #269709: Add separate "delete" permissions, add "any" to distiguish from "own" permissions.