Commit 0cd33422 authored by Francis Dupont's avatar Francis Dupont

[595-permission-problem-with-posgresql-read-only-unit-test] Added alternate...

[595-permission-problem-with-posgresql-read-only-unit-test] Added alternate way to give SELECT permission for RO PostgreSQL unit tests
parent 326fdbeb
......@@ -191,6 +191,21 @@ keatest=> \q
privilege is granted only on the tables that the <i>keatest</i> user can access
within the public schema.
It seems this no longer works on recent versions of PostgreSQL: if you get
a permission problem on SELECT on the schema_version table for
eatest_readonly, please try with the schema loaded:
$ psql -h localhost -U keatest -d keatest
Password for user keatest:
psql (9.1.12)
Type "help" for help.
keatest=> GRANT SELECT ON ALL TABLES IN SCHEMA public TO keatest_readonly;
keatest=> \q
Now we should be able to log into the newly created database using both user
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment