getpatchwork / patchwork

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.
http://jk.ozlabs.org/projects/patchwork/
GNU General Public License v2.0
274 stars 82 forks source link

lib: add missing permissions for patchwork_comment_id_seq #533

Closed alialnu closed 1 year ago

alialnu commented 1 year ago

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")