supabase / dbdev

Database Package Registry for Postgres
https://database.dev/
Apache License 2.0
370 stars 19 forks source link

Fix a bug in which views were invoked with owner's permissions #89

Closed imor closed 1 year ago

imor commented 1 year ago

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Views were being invoked with owner's permissions, therefore any RLS policies did not apply to views.

What is the new behavior?

Views will be invoked with invoker's permissions.

Additional context

N/A

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dbdev ✅ Ready (Inspect) Visit Preview Aug 29, 2023 1:05pm