[W] undefined:undefined - Ruleset uses old version (version [1]). Please update to the latest version (version [2]).
rules_version = "2";
[W] undefined:undefined - Ruleset uses old version (version [1]). Please update to the latest version (version [2]).
rules_version = "2";
firebase ! [W] undefined:undefined - Ruleset uses old version (version [1]). Please update to the latest version (version [2]).
service firebase.storage {
match /b/{bucket}/o {
match /user-files/{uid}/{allPaths=**} {
allow read: if resource.metadata[request.auth.uid] == "1"; // the uploading user can get a downloadURL
allow create, update: if request.auth.uid == uid // User can only upload to the users own folder
&& request.auth.token.storageLeft >= request.resource.size
&& request.auth.token.path == request.resource.name
allow delete: if false; // files are only deleted by cloud functions
}
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us