Private files result in access denied for non admin users.

Created on 21 August 2023, 10 months ago

Problem/Motivation

Not sure if this is by design or I'm missing something but I get an access denied message when trying to download a private file that I uploaded as part of the form submission.

Steps to reproduce

Set up a form that contains a private upload field
Login as an authorised user (non administrator)
Submit the form
View the form submission that contains the link to the private file
Click on the link and get access denied.
I can only get it to work if I give the role permission to administrate the webform and submissions which I don't want.

Proposed resolution

Allow authorised users who complete a form to download the private file in the webform submission

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

6.2

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom rviner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024