]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
lib: add missing permissions for patchwork_covercomment_id_seq
authorAli Alnubani <alialnu@nvidia.com>
Tue, 1 Aug 2023 08:15:35 +0000 (11:15 +0300)
committerStephen Finucane <stephenfinucane@hotmail.com>
Tue, 1 Aug 2023 17:25:29 +0000 (18:25 +0100)
Grants UPDATE and SELECT privileges on patchwork_covercomment_id_seq table
for user 'nobody' to fix the following exception when cover comments
are being parsed:
django.db.utils.ProgrammingError: permission denied for sequence
  patchwork_covercomment_id_seq

Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
lib/sql/grant-all.postgres.sql

index e89635fc0363b7028ff465e2734e219a724ae3fd..8aa6554fb567a72a7928a79ffbbc1113753d018e 100644 (file)
@@ -94,6 +94,7 @@ TO "nobody";
 GRANT UPDATE, SELECT ON
        patchwork_comment_id_seq,
        patchwork_cover_id_seq,
+       patchwork_covercomment_id_seq,
        patchwork_event_id_seq,
        patchwork_patch_id_seq,
        patchwork_patchtag_id_seq,