graphql-engine
graphql-engine copied to clipboard
Cannot remove datasource with dependencies
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?
- Track two databases (A and B)
- Create a remote relationship from B to A
- Try to remove database A
- Hasura will fail, and offer to "Drop the dependent objects"
- Clicking "Continue" fails again
Screenshots or Screencast
This is still a problem in 2.11.2
This time trying to remove a database which has permissions granted to inherited roles