graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

Saving column metadata on table with event triggers fails with database query error

Open mrkstwrt opened this issue 3 years ago • 1 comments

Version Information

Server Version: 2.5.0 CLI Version (for CLI related issue): 2.5.0

Environment

Docker image

What is the expected behaviour?

Should be able to save column metadata, e.g. custom column names

This was working okay on 2.4.0, updating to 2.5.0 causes the issue in existing projects

Keywords

custom column names, metadata

What is the current behaviour?

When saving metadata for a column on a table that has an event trigger in the Hasura console, the action fails with:

{
  "exec_status": "FatalError",
  "hint": null,
  "message": "must be owner of relation {tableName}",
  "status_code": "42501",
  "description": null
}

How to reproduce the issue?

  1. Have a tracked table with an existing event trigger on it
  2. In the console, modify tab, attempt to save a custom column name

If the bug is confirmed, would you be willing to submit a PR?

Sure

mrkstwrt avatar Apr 20 '22 10:04 mrkstwrt

Hi, Is this still an issue?

tirumaraiselvan avatar May 10 '22 13:05 tirumaraiselvan