EvanZhouDev / zyma

Zyma is a simple attendance tracker, enabling easy check-in for anyone from clubs to corporation meetings.
https://zyma.vercel.app
1 stars 0 forks source link

Fix RLS #47

Closed ThatXliner closed 9 months ago

ThatXliner commented 9 months ago

Pull Request Check List

Applicable issues

vercel[bot] commented 9 months ago

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

Name Status Preview Comments Updated (UTC)
zyma ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 30, 2023 0:18am
ThatXliner commented 9 months ago

We can merge for now as we're not compromising any existing security. I just wanted to make join codes actually useful but that inherently requires a big refactor that we don't have the time for

ThatXliner commented 9 months ago

@EvanZhouDev please thoroughly test all code paths (or write some more tests to do so. Look into https://playwright.dev/docs/codegen#generate-tests-with-the-playwright-inspector

ThatXliner commented 9 months ago

The current status: I disabled RLS on the public.attendance table. I can't seem to get it to work for the life of me.

ThatXliner commented 9 months ago

Nevermind! But realtime seems to fail now