Skip to content

Commit

Permalink
lib: add missing permissions for patchwork_covercomment_id_seq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
alialnu authored and stephenfin committed Aug 1, 2023
1 parent efa27b7 commit 3ede6b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sql/grant-all.postgres.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3ede6b3

Please sign in to comment.