Closed (fixed)
Project:
Webform
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2010 at 20:45 UTC
Updated:
31 Oct 2010 at 01:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
ksenzeeThis allows file download if
a) the file is recorded as belonging to a webform submission, and
b) the user either
- 1) is an admin who can see all submissions, or
- 2) has permission to see their own submissions, and originally uploaded the file.
It makes no attempt to distinguish among anonymous users, so if anon users can see their own submissions, they can see all anonymous submissions.
Comment #2
Stevel commentedLooks good and works, so RTBC
Comment #3
quicksketchThough I'm not real happy with having completely different code between D6 and D7, with the new File API it'd be hard to make these functions line up at at all between the two versions. Thanks for the patch and review guys.