Skip to content

Commit

Permalink
Trying to soften permission restriction for the AI Platform / Vertex …
Browse files Browse the repository at this point in the history
…AI service account to access the Cloud Storage #53 #38
  • Loading branch information
MrCsabaToth committed Sep 22, 2024
1 parent da4622c commit c32c463
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion firestore.rules
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid != null;
allow read: if request.auth != null;
allow write, delete: if request.auth.uid != null;
}
}
}
3 changes: 2 additions & 1 deletion storage.rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write, delete: if request.auth.uid != null;
allow read: if request.auth != null;
allow write, delete: if request.auth.uid != null;
}
}
}

0 comments on commit c32c463

Please sign in to comment.