Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "rules": {
- "secretnode": {
- //only an admin user can read
- ".read": "auth != null && root.child('adminusers/' + auth.uid).exists()"
- },
- "adminusers": {
- ".read": false,
- ".write": false
- },
- "othernodes": {
- ".read": true,
- ".write": true
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement