我想限制用户上传最多4张图片。 存储规则可以限制特定节点中的多个子节点吗? 这是我的存储规则,没有儿童限制。 service firebase.storage {
match /b/{bucket}/o {
match /users/{uid}/{filename} {
allow read, write: if request.auth.uid == uid;
我已阅读并通过Firebase Documentation,并不明白什么是.contains()。 下面是火力地堡数据库样本规则的文档中: {
"rules": {
"rooms": {
"$room_id": {
"topic": {
// the room's topic can be changed if the room id ha
几天前,它正在上传图像并将其显示到Firebase。但是现在每次上传都会给我错误代码403。 这里是我的存储规则火力点: service firebase.storage {
match /b/{bucket}/o {
match /{userId}/{postId}/{fileName} {
allow write: if request.auth.uid == u