michael-s-molina commented on code in PR #29884:
URL: https://github.com/apache/superset/pull/29884#discussion_r1707822278
##########
superset/databases/api.py:
##########
@@ -2274,6 +2274,6 @@ def schemas_access_for_file_upload(self, pk: int) ->
Response:
# otherwise the database should have been filtered out
# in CsvToDatabaseForm
schemas_allowed_processed =
security_manager.get_schemas_accessible_by_user(
- database, schemas_allowed, True
+ database, None, schemas_allowed, True
Review Comment:
This was a problem introduced with the catalog feature. @betodealmeida let
me know if `None` is correct in this context or how we should get the catalog.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]