Fix: Secure profile data access

This commit is contained in:
gpt-engineer-app[bot]
2025-09-29 22:21:11 +00:00
parent 622c9ba064
commit 460ede0791
2 changed files with 159 additions and 0 deletions

View File

@@ -968,6 +968,10 @@ export type Database = {
Args: { _profile_user_id: string; _viewer_id: string }
Returns: boolean
}
get_filtered_profile: {
Args: { _profile_user_id: string; _viewer_id?: string }
Returns: Json
}
get_user_management_permissions: {
Args: { _user_id: string }
Returns: Json