[W] undefined:undefined - Ruleset uses old version (version [1]). Please update to the latest version (version [2]).
rules_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
}
}
}
Also in JavaScript:
- angular ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
- traccar attributes list
- javascript find document body
- access css property using javascript
- .split in javascript
- javasript array indexof
- full screen a div
- minecraft
- js create object with properties
- map in javascript
- timestamp to date javascript
- javascript repeat element in array
- pip install json
- how to convert a queryset into json string
- javascript countdown timer
- outer.use() requires a middleware function but got a Object
- javascript to string
- react native header
- site "src="https://cdnjs.cloudflare.com/ajax/libs/popper.js"
- angular http get status code
- parsefloat
- javascript random rgb
- replace innerhtml javascript by regex
- js generate list of names with forloop