Is it possible to get the auth/userId of the user invoking a database function?
I want to access the whole auth-object or the userID of the user calling a database function. Is this possible? I don't want pass the userId as a parameter, unless theres some way to secure it with RLS?
Thanks!
Thanks!