- Issue created by @thiennd090395
- Status changed to Fixed
7 months ago 3:26pm 3 September 2024 - 🇮🇱Israel jsacksick
Hi, apoligize for the late reply. The "view own commerce_license" permission is requred, you shouldn't need toallow viewing private files.
Feel free to reopen if that didn't help. Automatically closed - issue fixed for 2 weeks with no activity.
I seem to have the same issue.
I granted "view own commerce_license" to registered users, but still get "access denied" when trying to download the file.
Pfad: /commerce-file/3082/download. Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: in Drupal\commerce_file\Controller\FileDownloadController->download() (Zeile 143 von /var/www/html/web/modules/contrib/commerce_file/src/Controller/FileDownloadController.php).
the license itself if active...
the issue was, that I had running
https://www.drupal.org/project/private_files_download_permission →you have to bypass the folder where you upload the commerce files in the settings there