Refactor security policies

This commit is contained in:
gpt-engineer-app[bot]
2025-09-29 22:19:22 +00:00
parent f586b31954
commit 622c9ba064
4 changed files with 88 additions and 29 deletions

View File

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