Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "rules": {
- "Admins": {
- ".read": true,
- ".write": false
- },
- "Users": {
- "$uid": {
- "Progression": {
- ".read": true,
- ".write": "$uid === auth.uid"
- },
- "Player state": {
- ".read": true,
- ".write": "$uid === auth.uid"
- },
- "Inventory": {
- ".read": "$uid === auth.uid",
- ".write": "$uid === auth.uid"
- },
- "Settings": {
- ".read": true,
- ".write": "$uid === auth.uid"
- },
- "Status": {
- ".read": "$uid === auth.uid",
- ".write": "root.child('Users').child($uid).child('Status').child('Admin').val() === true"
- },
- "Messaging": {
- ".read": true,
- ".write": "$uid === auth.uid"
- }
- }
- },
- "Proposed": {
- "$language": {
- "$word": {
- ".write": "!data.exists() || !newData.exists()",
- ".read": true
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement