RLS errors - impossible to develop

I have scripted a db with the help of the assistant, however there are a few problems ... often policies seem to block execution. It is difficult to debug because i dont see logs related to RLS policy XYZ errors when an operation is run, like fetching/adding a profile. Also the CRUD execution is very lengthy and makes the application slow ...

1 - about policies and errors. Is there an optimal approach to solve this? Should i remove all policies for now and hardnen the db later? From the Logs I found difficult to understand why there is a problem
2 - is there a GraphQL interface? ie at the moment the Auth should execute and then ideally all data preload at once, if possible. Else it is taking a long time like 8-9 seconds to load all data, and this is with a small data set
Was this page helpful?