Skip to content

Instantly share code, notes, and snippets.

@Yatima-Kagurazaka
Yatima-Kagurazaka / firebase_rule.json
Last active September 27, 2017 12:53
(consistency)
{
"rules": {
"test": {
"test": {
".write": "true",
"foo": {
".validate": "newData.isString()",
},
"bar": {
".validate": "newData.val() == newData.parent().child('foo').val()",