OneSignalDevelopers / ngosi

Share your slides with a QR code
https://ngosi.io
MIT License
9 stars 5 forks source link

Re-enable RLS on profiles table #21

Open iAmWillShepherd opened 2 years ago

iAmWillShepherd commented 2 years ago

I had to disable RLS on the profiles table to be able to update the profile. This is not ideal as it was meant to unblock me, but this should really be figured out.

Here's my output when RLS is enabled and I try to update my profile:

{
  "error": "{\"message\":\"new row violates row-level security policy for table \\\"profiles\\\"\",\"code\":\"42501\",\"hint\":null,\"details\":null}"
}
Screen Shot 2021-12-15 at 5 05 47 PM