Skip to content

Commit 6360df5

Browse files
committed
fix(db): grant write access to project_memberships table
project_memberships is mutated at runtime but was missing from the testgen_execute_role write-grant list, so membership changes failed with a permission error. Applied on existing deployments via the grant refresh on upgrade; no migration needed.
1 parent da00f50 commit 6360df5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

testgen/template/dbsetup/075_grant_role_rights.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ GRANT SELECT, INSERT, DELETE, UPDATE ON
4444
{SCHEMA_NAME}.job_executions,
4545
{SCHEMA_NAME}.settings,
4646
{SCHEMA_NAME}.notification_settings,
47+
{SCHEMA_NAME}.project_memberships,
4748
{SCHEMA_NAME}.test_definition_notes,
4849
{SCHEMA_NAME}.oauth2_clients,
4950
{SCHEMA_NAME}.oauth2_authorization_codes,

0 commit comments

Comments
 (0)