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

Cannot remove datasource with dependencies

Open jflambert opened this issue 2 years ago • 1 comments

Version Information

Server Version: 2.8.3

Environment

OSS

What is the current behaviour?

Hasura is unable to remove datasources if dependencies to it exist, despite being offered as an option.

What is the expected behaviour?

The "Continue" button should work and cascade to remote relationships.

How to reproduce the issue?

  1. Track two databases (A and B)
  2. Create a remote relationship from B to A
  3. Try to remove database A
  4. Hasura will fail, and offer to "Drop the dependent objects"
  5. Clicking "Continue" fails again

Screenshots or Screencast

image

image

jflambert avatar Jul 04 '22 02:07 jflambert

This is still a problem in 2.11.2

This time trying to remove a database which has permissions granted to inherited roles

image

jflambert avatar Oct 18 '22 14:10 jflambert