How to add OR operator in Firebase Security Rules
rules_version = '2'; firebase.storage { match /b/{bucket}/o { match /Users/{userId} { allow read: if request.auth != null; allow write : if itemDelete(userId); } function itemDelete(userId){ return userId != '1.jpg' || '2.jpg' ; } } } How can I use OR…