ridohendrawan / Kompleks

MIT License
1 stars 1 forks source link

Firebase Authentication #25

Closed lauslim12 closed 3 years ago

lauslim12 commented 3 years ago

Untuk Firebase Realtime Database:

{
  "rules": {
    ".read": "auth != null",
    ".write": "auth != null",
  }
}

Untuk Firebase Cloud Storage:

rules_version = '2';
service firebase.storage {
  match /b/{bucket}/o {
    match /{allPaths=**} {
      allow read, write: if request.auth != null;
    }
  }
}

Resolves #23 Resolves #24 Resolves #14