hasura / hasura/graphql-engine

Permissions drop of column in hasura

Open
#7,428 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

I just came across this isssue , when trying to delete and int column and replacing it with uuid. After removing all foreign keys and trucating the data.

I tried to delete the column but was blocked by the permissions set on this column.

I wonder why would permisisons on a column that we are dropping matter. I think we should be able to delete column without any issue from permissions on set on it.

- Hasura version - 2.0.3

Contributor guide

Open the contributing guide

Research direction

The issue names no source file, test, or entry point. Begin by reproducing the reported column-drop behavior in Hasura 2.0.3 with column permissions present, then define the expected behavior; done means the agreed permission handling is verified by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres
Domain
authorization, databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.