- Issue created by @cestmoi
Please provide the YAML of a minimal form that reproduces the bug.
Thanks @cilefen
The issue can be seen on the Image Select element in the example_style_guide webform after changing the images paths to point to private dir as per below example.
Below is the relevant part ( plus a separate issue re rating stars) from the example form. Both the example form and this mini form copied from it and just edited the images paths.introduction: '#markup': '<p>Below is taken form the example_style_guide webform and all the webform settings are left as is. The issue: Images show fine to admin but not to permitted users when images in private dir (Default file download is set to private in File System config), user gets Access Denied when trying to open the image in a new tab, images src look correct in the source code. A seperate issue is the "rating stars" aren''t showing (for anyone) on preview (regardless of user privilege)</p>' advanced_elements: '#type': details '#title': 'Advanced elements' '#open': true webform_image_select: '#type': image_select '#title': 'Image select' '#images': kitten_1: text: 'Cute Kitten 1' src: /system/files/webform/imagetest/kitten1.jpg kitten_2: text: 'Cute Kitten 2' src: /system/files/webform/imagetest/kitten2.jpg kitten_3: text: 'Cute Kitten 3' src: /system/files/webform/imagetest/kitten3.jpg '#show_label': true webform_rating: '#type': rating '#title': Rating
Thanks. I understand and appreciate all the support and the work and I do my best to help with all I can within my abilities (contributing to Drupal) but isn't such a bug a priority though regardless! In fact, all my questions here are for a voluntary work and I personally couldn't afford any extra financial burden on top of it.
Anyways, thanks for responding and letting know why the bug is ignored. If there is anything else I can help with apart from money, please let me know.
- Status changed to Closed: outdated
over 1 year ago 12:41pm 26 May 2023 - πΊπΈUnited States jrockowitz Brooklyn, NY
This 100% feels like a private files permission issue and has nothing to do with the webform module.
@see https://www.drupal.org/project/private_files_download_permission β
@see https://ostraining.com/blog/drupal/file-access/