13 lines
		
	
	
		
			315 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			315 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| rules_version = '2';
 | |
| 
 | |
| // Craft rules based on data in your Firestore database
 | |
| // allow write: if firestore.get(
 | |
| //    /databases/(default)/documents/users/$(request.auth.uid)).data.isAdmin;
 | |
| service firebase.storage {
 | |
|   match /b/{bucket}/o {
 | |
|     match /{allPaths=**} {
 | |
|       allow read, write: if false;
 | |
|     }
 | |
|   }
 | |
| }
 |