Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix abac implementation for auth users remove

Joshen Limc61e555bff2b
diff --git a/studio/components/interfaces/Authentication/Users/UsersList.tsx b/studio/components/interfaces/Authentication/Users/UsersList.tsx
index 52c83332a36..d3a1144c184 100644
--- a/studio/components/interfaces/Authentication/Users/UsersList.tsx
+++ b/studio/components/interfaces/Authentication/Users/UsersList.tsx
@@ -11,8 +11,7 @@ import { PermissionAction } from '@supabase/shared-types/out/constants'
const UsersList = ({}) => {
const PageState: any = useContext(PageContext)
- const canRemoveUser = false
- // const canRemoveUser = checkPermissions(PermissionAction.TENANT_SQL_DELETE, 'auth.users')
+ const canRemoveUser = checkPermissions(PermissionAction.TENANT_SQL_DELETE, 'auth.users')
return (
<Loading active={PageState.usersLoading}>