Created
May 20, 2020 20:27
-
-
Save IchordeDionysos/447c69c3d6edf768c5f3b8c5cbd8088b to your computer and use it in GitHub Desktop.
Include Defintion Medium Article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules_version = '2'; | |
service cloud.firestore { | |
match /databases/{database}/documents { | |
include "functions.rules"; | |
match /someCollection/{someDocument} { | |
allow read, write: if isAdmin(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment