I created a new table after setting up the connection on Retool resource. The PG user I use didn't have any permission to the table. I gave permissions to the table and I managed to access the data through a query (SQL mode). However, I can't see the table on GUI mode.
I checked the permissions with this query:
SELECT grantee, privilege_type
FROM information_schema.role_table_grants
WHERE table_name='the_new_table'
in the SQL editor (SQL mode). Really appreciate your help.