Closed (duplicate)
Project:
Webform
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2008 at 12:47 UTC
Updated:
10 Jan 2010 at 03:22 UTC
Jump to comment: Most recent file
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 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.