open:firebase

Firebase

{
  "rules": {
    ".read": true,
    ".write": true,
    "2016" : {
      "site-moa" : {
        "shop-overseas" : {
      		".indexOn" : "dateFormat"
        },
        "shop-korea" : {
      		".indexOn" : "dateFormat"
        }
      }
    }
  }
}

rules에 모두 읽고 쓸 수 있도록 true를 설정한다.

인덱스 설정을 위해, .indexOn를 입력한다.

Rule Types Desc
.read Describes if and when data is allowed to be read by users.
.write Describes if and when data is allowed to be written.
.validateDefines what a correctly formatted value will look like, whether it has child attributes, and the data type.
.indexOnSpecifies a child to index to support ordering and querying.

  • open/firebase.txt
  • 마지막으로 수정됨: 2021/04/16 05:31
  • 저자 127.0.0.1