Skip to content

Develop - #57

Merged
nlklfor merged 2 commits into
mainfrom
develop
Aug 23, 2026
Merged

Develop#57
nlklfor merged 2 commits into
mainfrom
develop

Conversation

@nlklfor

@nlklfor nlklfor commented Aug 23, 2026

Copy link
Copy Markdown
Owner

No description provided.

nlklfor and others added 2 commits August 23, 2026 19:11
The RLS lockdown on orders (closing the client-trusted-price hole)
left the reviews INSERT policy unable to verify order completion --
its subquery against orders ran under the anonymous customer's own
RLS, which can no longer see into orders at all, so the check always
failed regardless of actual status. Customers saw the raw Postgres
error. Fixed by checking completion through a SECURITY DEFINER
function instead (same pattern as is_admin()), and replaced the raw
error text shown on submission failure with a generic message.
fix: reviews couldn't be submitted for completed orders
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
metallurg Ready Ready Preview Aug 23, 2026 5:14pm

@nlklfor
nlklfor merged commit 89afc02 into main Aug 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant