UNPKG

targaryen

Version:

Test Firebase security rules without connecting to Firebase.

14 lines (13 loc) 308 B
{ "rules": { "users": { "$user": { "innocent": { ".validate": "data.parent().child('on-fire').val() === false" }, ".read": "auth !== null", ".write": "auth !== null && root.child('users').child(auth.uid).child('king').val() === true" } } } }