> To be able to select from a table you need
> * CONNECT
> * USAGE
> * SELECT
Isn't LOGIN (https://www.postgresql.org/docs/16/role-attributes.html) also needed?
Only roles that have the LOGIN attribute can be used as the initial role name for a database connection