{"width":"100%","blog_title":"\u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002","title":"Firestore\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb\u3067uid\u4ee5\u5916\u3092\u5229\u7528\u3059\u308b(email/email_verified/etc..)","published":"2022-06-14 11:00:00","categories":["Firestore","Firebase"],"author_name":"wannabe-jellyfish","blog_url":"https://memory-lovers.blog/","provider_name":"Hatena Blog","image_url":null,"provider_url":"https://hatena.blog","height":"190","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2022%2F06%2F14%2F110000\" title=\"Firestore\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb\u3067uid\u4ee5\u5916\u3092\u5229\u7528\u3059\u308b(email/email_verified/etc..) - \u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Firestore\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb\u3067\u3001 email\u306a\u3069\u306eUID\u4ee5\u5916\u3092\u5229\u7528\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3068\u304d\u306b\u3001 \u8abf\u3079\u305f\u3068\u304d\u306e\u5099\u5fd8\u9332\u3002 request.auth.token.*\u3092\u4f7f\u3048\u3070OK\u3063\u307d\u3044\u3002 \u4f7f\u3044\u65b9 \u3053\u3093\u306a\u611f\u3058\u3002 service cloud.firestore { match /databases/{database}/documents { function isEmailVerified() { return request.auth.token.email_verified == true; } match /foo/{uid} { allow read, write: if isEmailVe\u2026","url":"https://memory-lovers.blog/entry/2022/06/14/110000","type":"rich","author_url":"https://blog.hatena.ne.jp/wannabe-jellyfish/"}