Skip to content

Use has_table_privilege for TRIGGER on PostgreSQL

Yorick Peterse requested to merge fix-postgresql-table-grant into master

What does this MR do?

This fixes Gitlab::Database::Grant.create_and_execute_trigger? so it uses has_table_privilege() on PostgreSQL. This was suggested in comment https://gitlab.com/gitlab-org/gitlab-ce/issues/38634#note_53356552.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/38634

Merge request reports

Loading