apache/superset

Schemas available for upload don't reflect the database configuration

michael-s-molina opened this issue · 0 comments

Bug description

When creating a database configuration, there's an Security option to allow file uploads where you need to define which schemas are allowed.

Screenshot 2024-12-11 at 08 29 56

The problem is that the upload modal is not considering the allowed schemas and it's showing all schemas available.

Screenshot 2024-12-11 at 08 30 34

Another important thing is make the Schema input required if only certain schemas are allowed.

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.