diff --git a/studio/components/interfaces/Auth/Policies/PolicyTableRow/index.tsx b/studio/components/interfaces/Auth/Policies/PolicyTableRow/index.tsx index 487027580b9..180fcc075e3 100644 --- a/studio/components/interfaces/Auth/Policies/PolicyTableRow/index.tsx +++ b/studio/components/interfaces/Auth/Policies/PolicyTableRow/index.tsx @@ -6,6 +6,7 @@ import { useStore } from 'hooks' import PolicyTableRowHeader from './PolicyTableRowHeader' import PolicyRow from './PolicyRow' import Panel from 'components/ui/Panel' +import { Alert } from 'ui' interface Props { table: PostgresTable @@ -46,9 +47,14 @@ const PolicyTableRow: FC = ({ RLS is enabled - create a policy to allow access to this table.

) : ( -

- Warning: RLS is disabled - anonymous access is allowed to this table -

+ + Anonymous access is allowed to this table + )} )}