guacamole/guacamole-postgresql/init-user.sql

3 lines
182 B
SQL

CREATE USER :user WITH PASSWORD :'password';
GRANT SELECT,INSERT,UPDATE,DELETE ON ALL TABLES IN SCHEMA public TO :user;
GRANT SELECT,USAGE ON ALL SEQUENCES IN SCHEMA public TO :user;