In fillpdf.module, line 319, the following line is supposed to check if current user has the right to access the pdf file :
if (!($user->uid && (user_access('access own webform submissions') || user_access('access webform results') || user_access('access webform submissions'))))
The problem is that Anonymous user has the uid 0, so $user->uid will be considered as false by PHP, so the whole boolean expression is always false for anonymous users.
Since I really can't see any utility to check if $user->uid has a value, I fixed the bug by simply removing it :
if (!(user_access('access own webform submissions') || user_access('access webform results') || user_access('access webform submissions')))
See the attached patch below
Closed: outdated
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.