Add a warning about including `mintAdminToken`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- firebase, javascript, node.js
- Domain
- documentation, security
Research direction
Start with firestore/solution-deletes/functions/index.js at the linked example around line 19, and inspect how mintAdminToken and recursiveDelete are presented. Make the production risk explicit and ensure the example is not directly copy-pasteable; confirm the resulting snippet still communicates the deletion workflow safely.
Written by the indexing model from the issue text.
Description
Thanks for these amazing snippets but I feel like there should be a warning about including this in any production environment since the combination of mintAdminToken and recursiveDelete would enable to anyone blasting an entire production database.
I suggest you create an example that isn't copy-pasteable.
- Dominant language
- JavaScript
- Stars
- 395
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/snippets-node
-
Holis Open
Difficulty 1/5 Under an hour Newbie friendliness 1/100
firebase/snippets-node#420 ·
-
My phone Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
firebase/snippets-node#402 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
firebase/snippets-node#392 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
firebase/snippets-node#375 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
firebase/snippets-node#335 ·
All issues in firebase/snippets-node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·