first commit
This commit is contained in:
23
storage.rules
Normal file
23
storage.rules
Normal file
@@ -0,0 +1,23 @@
|
||||
rules_version = '2';
|
||||
service firebase.storage {
|
||||
match /b/{bucket}/o {
|
||||
|
||||
match /ckeditor_uploads/{allPaths=**} {
|
||||
|
||||
allow read: if true;
|
||||
allow write: if request.auth != null;
|
||||
}
|
||||
|
||||
// (Optional) Allow similar rules for other folders
|
||||
match /thumbnails/{allPaths=**} {
|
||||
allow read: if true;
|
||||
allow write: if request.auth != null;
|
||||
}
|
||||
|
||||
match /boards/{allPaths=**} {
|
||||
allow read: if true;
|
||||
allow write: if request.auth != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user