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.
If you have a file upload field on a webform, the user that submitted the file can not view his/her own file.
I found that the only way to allow the user to view his/her uploaded file is to give the permissions "view any webform submission".
Is this intended behaviour?
Comment | File | Size | Author |
---|---|---|---|
#4 | Screen Shot 2017-03-14 at 4.32.18 PM.png | 139.12 KB | jrockowitz |
#4 | viewing_own_uploaded-2860472-4.patch | 2.72 KB | jrockowitz |
|
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedI can't reproduce this issue using the below steps....
Notes
Comment #3
weseze CreditAttribution: weseze commentedIndeed it works as you describe.
Coming from webforms on Drupal 7 I expected the permission "view own submissions" to be on the general permission page, not on a tab within the webform itself.
A small reference on the general permission "view any webform submission" would indeed be very helpful!
Comment #4
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedYep, someone could write a very helpful and populate blog post that documents the difference between Webform for D7 and D8.
Below is a screenshot of the notes that I added to the permissions page.
Comment #6
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedI committed the patch. Please download the latest release to review.