I’ve created 2 databases in Redshift engine:
database_production
database_development
Each database have 2 schemas: public
and custom
.
I want to create user called developer
who has all privileges in database_development
database but can’t connect and modify any schema in database_production
.
How to create developer
users and grand/revoke desired permissions on database_development
only?
2
Answers
You can use GRANT, you can check here how works grant. Following the documentation, the line to be executed would be:
Connect to Redshift and create/grant user:
Also you may double-check if this user can’t access to
database_production
just try to connect to this DB and do smth there.And revoke desired permissions: