Skip to content

Instantly share code, notes, and snippets.

@byaruhaf
Forked from tunds/Firebase Rules
Created March 3, 2023 09:59
Show Gist options
  • Save byaruhaf/5cb94546c9c0a3826027921c76c3d7f6 to your computer and use it in GitHub Desktop.
Save byaruhaf/5cb94546c9c0a3826027921c76c3d7f6 to your computer and use it in GitHub Desktop.
{
"rules": {
"users" : {
"$user_id" : {
".read" : "auth != null && $user_id === auth.uid",
".write" : "auth != null && $user_id === auth.uid"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment