aboutsummaryrefslogtreecommitdiff
path: root/content/en/blog/miscellaneous/postgresql-read-only.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-11 18:53:14 +0100
committerJulien Dessaux2021-03-11 18:53:14 +0100
commit60d3abc6ecdc21b4ab921d34a55b4af48690f55a (patch)
tree1ee530dd7367d743fb619f341100e41df22e1985 /content/en/blog/miscellaneous/postgresql-read-only.md
parentUpdated docsy theme (diff)
downloadwww-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.gz
www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.bz2
www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.zip
Rewrote the whole website to get rid on a heavy theme
Diffstat (limited to 'content/en/blog/miscellaneous/postgresql-read-only.md')
-rw-r--r--content/en/blog/miscellaneous/postgresql-read-only.md17
1 files changed, 0 insertions, 17 deletions
diff --git a/content/en/blog/miscellaneous/postgresql-read-only.md b/content/en/blog/miscellaneous/postgresql-read-only.md
deleted file mode 100644
index c064e97..0000000
--- a/content/en/blog/miscellaneous/postgresql-read-only.md
+++ /dev/null
@@ -1,17 +0,0 @@
----
-title: "Grant postgresql read only access"
-linkTitle: "Grant postgresql read only access"
-date: 2015-11-24
-description: >
- Grant postgresql read only access
----
-
-{{< highlight sh >}}
-GRANT CONNECT ON DATABASE "db" TO "user";
-\c db
-GRANT USAGE ON SCHEMA public TO "user";
-GRANT SELECT ON ALL TABLES IN SCHEMA public TO "user";
-ALTER DEFAULT PRIVILEGES IN SCHEMA public
- GRANT SELECT ON TABLES TO "user";
-{{< /highlight >}}
-