Created
December 8, 2017 09:05
-
-
Save edwinlab/3a2460dfaf5e2c8d19f809b45b750c73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE ROLE your_role NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN; | |
| ALTER ROLE your_role WITH PASSWORD ‘your_password'; | |
| GRANT USAGE ON schema public TO your_role; | |
| GRANT SELECT, UPDATE, INSERT, DELETE ON your_table TO your_role; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment