mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
Disble loading permissions on self-host
This commit is contained in:
1 parent
439ed76459
commit
87fb3f17ed
1 file changed
+1
@@ -50,6 +50,7 @@ export function withAuth<T>(
|
||||
})
|
||||
|
||||
usePermissionsQuery({
|
||||
enabled: IS_PLATFORM,
|
||||
onSuccess(permissions) {
|
||||
ui.setPermissions(permissions)
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user