]> git.ipfire.org Git - thirdparty/patchwork.git/commit
lib: add missing permissions for patchwork_comment_id_seq
authorAli Alnubani <alialnu@nvidia.com>
Tue, 20 Jun 2023 11:06:07 +0000 (14:06 +0300)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sun, 25 Jun 2023 10:35:06 +0000 (11:35 +0100)
commitf7bb805037d7d8710a0b025536616ef9cdfd4cef
treeddcf0661e1dd1c185cb01a566e77603f7e6a1cfe
parent8a960622ab03d8d3298bf0c9d4c3ae5312fe31b2
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: 5b53f46def5f ("lib: fix table names")
Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
lib/sql/grant-all.postgres.sql