We have an existing app which heavily depends on this. We use it mainly to run functions in the user's context - they can write to the DB a lot and we want security rules to apply (a single bug in the function could could destroy the entire database, since by default admin.database() bypasses rules)
We have an existing app which heavily depends on this. We use it mainly to run functions in the user's context - they can write to the DB a lot and we want security rules to apply (a single bug in the function could could destroy the entire database, since by default admin.database() bypasses rules)