From 1112f38362b44c3cc18e2f8b9cbdf10b9e6efc31 Mon Sep 17 00:00:00 2001 From: Ali Alnubani Date: Mon, 31 Jul 2023 13:54:21 +0300 Subject: [PATCH] lib: add missing permissions for patchwork_cover_id_seq Grants UPDATE and SELECT privileges on patchwork_cover_id_seq table for user 'nobody' to fix the following exception when cover letters are being parsed: django.db.utils.ProgrammingError: permission denied for sequence patchwork_cover_id_seq Signed-off-by: Ali Alnubani --- lib/sql/grant-all.postgres.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sql/grant-all.postgres.sql b/lib/sql/grant-all.postgres.sql index 5a89d6b2..e89635fc 100644 --- a/lib/sql/grant-all.postgres.sql +++ b/lib/sql/grant-all.postgres.sql @@ -93,6 +93,7 @@ GRANT SELECT ON TO "nobody"; GRANT UPDATE, SELECT ON patchwork_comment_id_seq, + patchwork_cover_id_seq, patchwork_event_id_seq, patchwork_patch_id_seq, patchwork_patchtag_id_seq,