I was surprised to see that I'm missing some permissions on the schema. Turned out that the postgres grants of the form:
GRANT role_name to role_specification;
do not work.
I can see that there's member_of in the schema but it did not get generated for some of the roles. It must be some odd condition. I can privately share my schema with you.