Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "rules": {
- ".read": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')",
- "actions": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "boothAreas": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "congressDays": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "congresses": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "conversations": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "(auth != null && auth.token != null)"
- }
- },
- "inprogressConversations": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "(auth != null && auth.token != null)"
- }
- },
- "kpiSettings": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "materials": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "participants": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "products": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "surveyQuestions": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "surveySubmittions": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "(auth != null && auth.token != null)"
- }
- },
- "userRole": {
- "$id": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- },
- "surveys": {
- "$id": {
- ".read": "((auth != null && auth.token != null) && (auth != null && auth.token != null))",
- ".write": "(((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager') && ((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager'))"
- }
- },
- "users": {
- "$uid": {
- ".read": "(auth != null && auth.token != null)",
- ".write": "((auth != null && auth.token != null) && root.child('users').child(auth.uid).child('role').val() == 'congressManager')"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement