Is there a way to apply the Firestore security rules to the admin SDK yet?
I want to apply the rules to my callable functions. I would rather not have to write them again in nodejs. According to this article from 2019 it is possible with Realtime database but not Firestore.
Tip #1: Admin SDK bypasses security rules As you explore security rules in depth, you will eventually discover that requests from the Firebase Admin SDK are not gated by rules. The Admin SDK is initialized with a service account, which gives the SDK full access to your data. In Firebase Realtime Database, you can scope the Admin SDK's privileges to a user ID, and enforce rules as usual. But other products, most notably Google Cloud Firestore, don't support this feature yet. You should be mindful about that when implementing server-side data access operations.
Source: https://firebase.googleblog.com/2019/03/firebase-security-rules-admin-sdk-tips.html
Note: I am aware this has been asked before but all the questions seem at least a couple of years old.