FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

lib: add missing permissions for patchwork_comment_id_seq · getpatchwork/patchwork@f7bb805 · GitHub

Commit f7bb805

Browse files
authored andcommitted
lib: add missing permissions for patchwork_comment_id_seq
Grants UPDATE and SELECT privileges on patchwork_comment_id_seq table for web and mail users to fix the following exception when comments are parsed: django.db.utils.ProgrammingError: permission denied for sequence patchwork_comment_id_seq Fixes: 5b53f46 ("lib: fix table names") Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
1 parent 8a96062 commit f7bb805

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lib/sql/grant-all.postgres.sql‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ GRANT SELECT, UPDATE ON
4949
patchwork_bundle_id_seq,
5050
patchwork_bundlepatch_id_seq,
5151
patchwork_check_id_seq,
52+
patchwork_comment_id_seq,
5253
patchwork_cover_id_seq,
5354
patchwork_covercomment_id_seq,
5455
patchwork_delegationrule_id_seq,
@@ -91,6 +92,7 @@ GRANT SELECT ON
9192
patchwork_tag
9293
TO "nobody";
9394
GRANT UPDATE, SELECT ON
95+
patchwork_comment_id_seq,
9496
patchwork_event_id_seq,
9597
patchwork_patch_id_seq,
9698
patchwork_patchtag_id_seq,

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL