]> 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 <stephen@that.guru>
Tue, 1 Aug 2023 17:26:54 +0000 (18:26 +0100)
commit719b5be7a5bee77ea3e7ddd20c9bb86465d4ca3e
treec090ebb91808b9ce8ed1b61ddf3dc017074df6f0
parentd573b4b17c4d9e68e68aecddc5c31e9d5ff0777a
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>
(cherry picked from commit f7bb805037d7d8710a0b025536616ef9cdfd4cef)
lib/sql/grant-all.postgres.sql