I setup my django application to use google cloud storage, via apache-libcloud and django-storages.
my LIBCLOUD_PROVIDER
looks something like this
LIBCLOUD_PROVIDERS = {
'default': {
'type': 'libcloud.storage.types.Provider.GOOGLE_STORAGE',
'bucket': 'bucket-name',
'user': os.environ.get('GCE_STORAGE_KEY'),
'key': os.environ.get('GCE_STORAGE_SECRET')
},
}
STATICFILES_STORAGE = 'etc.utilities.storage.GSStaticBucket'
It seems to work fine when I run ./manage.py collectstatic
and files get uploaded successfully. But am looking for a way to control the files access control; right now it uploads all files as private and instead want them uploaded to be publicly accessible.
But as you see from screenshot above. The uploaded files are not flagged for "Shared Publicly"
Can someone advise please?