暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

firestore.rules 715B

12345678910111213141516
  1. service cloud.firestore {
  2. match /databases/{database}/documents {
  3. match /{document=**} {
  4. // This rule allows anyone with your database reference to view, edit,
  5. // and delete all data in your database. It is useful for getting
  6. // started, but it is configured to expire after 30 days because it
  7. // leaves your app open to attackers. At that time, all client
  8. // requests to your database will be denied.
  9. //
  10. // Make sure to write security rules for your app before that time, or
  11. // else all client requests to your database will be denied until you
  12. // update your rules.
  13. allow read, write: if request.time < timestamp.date({{IN_30_DAYS}});
  14. }
  15. }
  16. }