Cannot view files stored in GCS Uniform access control bucket

Created on 15 January 2024, 6 months ago

Configured GCS storage using this module Flysystem - Google Cloud Storage - CORS and the file successfully uploaded to GCS bucket having Uniform access control.

$settings['flysystem'] = [
  'cloud-storage' => [
    'driver' => 'gcs',
    'config' => [
      'bucket' => 'bucket_name',
      'keyFilePath' => '/serviceaccount.json',
      'projectId' => 'google-project-id',
      'requestTimeout' => 5, 
    ],
    'cache' => true, // Cache filesystem metadata.
  ],
];

Now the image embedded in the content and showing the storage path on hover the attachment. But image not showing and have access denied issue.

How it can solve from module itself?

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India drupal_dev24

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

Comments & Activities

Production build 0.69.0 2024