我需要在 firebase 存储中设置一个仅具有读取权限的文件夹 public,我的安全规则是
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write:if request.auth.uid != null;
}
match /{platos=**} {
allow read;
}
}
}
Run Code Online (Sandbox Code Playgroud)
该文件夹名为 platos,我不确定这些规则是否受到保护,其他文件夹必须仅对登录用户进行保护