We are trying to create a user in Amazon Redshift which should only access a specific database. We know how to assign user to specific schema, but I want use public schema.
Till now we tried following commands:
To create user:
create user tt password 'tttt';
To create group:
create group report_group with user tt;
To grant access of database
grant select on DATABASE demo TO tt;
but its not allowing running select query and fails with
access denied to schema public
any suggestion in this.