© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
4y ago
•
15 replies
wolf5
Question about RLS policy
I
'd like to setup RLS policy only indicating that a row is allowed to delete when a referred row
(by a foreign key
) is deleted
.
For example
, I have two table
, one is
user
user
. another is
article
article
When a row in a
user
user
table is deleted
, I want to allow the
article
article
table to delete all the rows connected by a foreign key with the user
.
How do you write the USING expression
?
?
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
RLS Policy
S
Supabase / help-and-questions
4mo ago
Restrictive RLS policy
S
Supabase / help-and-questions
2mo ago
RLS policy help
S
Supabase / help-and-questions
3y ago
Quick question about RLS join policies
S
Supabase / help-and-questions
14mo ago