Carrierwave uploading file using fog to google cloud storage without making bucket public and control access fine-grained in rails

389 views Asked by At

Is there a way i can upload files while keeping bucket private and access control uniform? as i am trying to use carrierwave with fog for this purpose and followed carrierwave gem instructions but i receive this error "Cannot insert legacy ACL for an object when uniform bucket-level access is enabled." which led me to make my bucket public and control access "fine grained". also there were some solutions to use "SignedURLs" but in that case i have to make url for every individual object.

All i want is to simply upload .pdf or .docx files to google cloud storage without making bucket public.

0

There are 0 answers