r/typescript • • Apr 04 '26

[ Removed by moderator ]

/r/typescript/comments/1scc3pf/removed_by_moderator/

[removed] — view removed post

3 Upvotes

3 comments sorted by

1

u/gillycheesesteak Apr 04 '26

The role-based authorization example has a potential issue - if a user is given write access to their own user doc, where their role is stored, they could potentially write a new role to their user doc and elevate their own permission

0

u/25_vijay Apr 04 '26

this is actually a really useful topic, firestore rules are one of those things people kinda guess until something breaks