This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
stack/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;