Im trying to set some storage rules for make only the UID users I specify can access to all paths of my storage.
Im tried this:
service firebase.storage {
match /b/{bucket}/o {
match /user/{userId}/{allPaths=**} {
allow read, write: if request.auth.uid == userId;
}
}
}
with that rules setted up , I cant access to my storage, Im trying with "rules testing area".
My question is, how to add the specifics UserId I want to grant access to my storage?.