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

  • [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [X] 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.

Comment From: rusackas

Was this indeed fixed by #32702?

Comment From: rusackas

@michael-s-molina do you have the ability to test (easily) if this is still happening after that merge?

Comment From: rusackas

^^ or perhaps @sadpandajoe ?