Hi,
I have a problem with webform encrypt.
When I upload a file (encrypted field) with an anonymous user and submit the webform, I can't access file in the webform result with the superadmin (user=1).
For information if I change the file field to not encrypted, I have access to the file.
And if I upload the file and submit webform with an authentified user, I also can access to the file.

CommentFileSizeAuthor
#3 3035804-3.patch5.52 KBmanuel garcia

Comments

jguirchoune created an issue. See original summary.

manuel garcia’s picture

Priority: Normal » Major

Thanks for the report @jguirchoune

Can you check if this is also happening using the latest development version please? https://www.drupal.org/project/webform_encrypt/releases/8.x-1.x-dev

manuel garcia’s picture

Status: Active » Needs review
StatusFileSize
new5.52 KB

I've taken the time to write test coverage for this situation, and so far I've not been able to replicate it...

manuel garcia’s picture

I have just tested this manually on 8.x-1-x HEAD, and admin user can a access the file. So I have not been able to replicate the bug, and the coverage added on #3 agrees as well.

Leaving as needs review for a comaintainer to review the patch and perhaps commit it to get coverage for this.

manuel garcia’s picture

Status: Needs review » Closed (cannot reproduce)

I am closing this as I cannot reproduce the bug.

The work for the test coverage will continue on #3038902: Uploaded files content are not encrypted which is a verified bug that we should fix.