]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
lib: add missing permissions for patchwork_cover_id_seq
authorAli Alnubani <alialnu@nvidia.com>
Mon, 31 Jul 2023 10:54:21 +0000 (13:54 +0300)
committerStephen Finucane <stephenfinucane@hotmail.com>
Tue, 1 Aug 2023 17:25:29 +0000 (18:25 +0100)
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 <alialnu@nvidia.com>
lib/sql/grant-all.postgres.sql

index 5a89d6b2df0083e83b4df19d643ce422a50023d9..e89635fc0363b7028ff465e2734e219a724ae3fd 100644 (file)
@@ -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,