© 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
•
3 replies
david
RLS policy for insert to check given column value?
Can get a column value for an insert command and use it in a policy
's with check based on the value
?
For example
, if a column name is color
, then I would like to allow the insertion only if the value is
'red
'
.
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 - Help with Insert Policy
S
Supabase / help-and-questions
4y ago
RLS policy blocking Insert from Debug
S
Supabase / help-and-questions
5mo ago
RLS Policy
S
Supabase / help-and-questions
4mo ago
Access insert values from policy
S
Supabase / help-and-questions
4y ago