Skip to content

Commit 8ba43da

Browse files
committed
Merge branch '2.x' of https://github.com/craftcms/google-cloud into 2.x
2 parents 651baca + f4e29a2 commit 8ba43da

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ composer require craftcms/google-cloud
3131

3232
## Setup
3333

34+
Your Google Cloud bucket must use Google's `Fine grained` (per object) permissions, not `Uniform` (per bucket).
35+
36+
On the permissions table for the new bucket, grant `Storage Object Viewer` to `allUsers`. The `Storage Admin` role should be granted to the service account the credentials are tied to.
37+
3438
To create a new asset volume for your Google Cloud Storage bucket, go to Settings → Assets, create a new volume, and set the Volume Type setting to “Google Cloud Storage”.
3539

3640
> **Tip:** The Project ID, Bucket, and Subfolder settings can be set to environment variables. See [Environmental Configuration](https://docs.craftcms.com/v3/config/environments.html) in the Craft docs to learn more about that.

0 commit comments

Comments
 (0)