Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schemas available for upload don't reflect the database configuration #31399

Open
3 tasks done
michael-s-molina opened this issue Dec 11, 2024 · 0 comments
Open
3 tasks done
Labels
data:databases Related to database configurations and connections

Comments

@michael-s-molina
Copy link
Member

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.
@dosubot dosubot bot added the data:databases Related to database configurations and connections label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:databases Related to database configurations and connections
Projects
None yet
Development

No branches or pull requests

1 participant