]> git.ipfire.org Git - thirdparty/patchwork.git/commit
lib/sql: fix permissions for v2.0.0 on postgres
authorJeremy Kerr <jk@ozlabs.org>
Mon, 28 Aug 2017 11:39:18 +0000 (19:39 +0800)
committerStephen Finucane <stephen@that.guru>
Thu, 31 Aug 2017 08:44:09 +0000 (09:44 +0100)
commitcd06bab3de43316b238dac90725bd78e309501db
tree30b2b156682c168fae9a2d04509b0eb730fb8fdc
parentddef10cfdd3e7c51d005a50f46bad0561e74662b
lib/sql: fix permissions for v2.0.0 on postgres

Some tables are no longer present, and others that are used by the web
interface and mail parser need access permissions added.

This change was required to get patchwork going on patchwork.ozlabs.org;
there may be other permissions required, that we haven't hit yet. So,
some review would be good here.

Also: it's unlikely that we need DELETE for the mail parser, but I'm not
confident enough to remove that at the moment.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Reviewed-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit 234bc7c316c555a432f678a75b25095c643d7ba1)
lib/sql/grant-all.postgres.sql