-
- Downloads
Only attempt to sync schemas that have some/any possible permissions (#15291)
Only attempt to sync schemas that have some/any possible permissions Make syncable-schemas multimethod, whose base implementation is the same as the previous private fn Override syncable-schemas for Redshift to add a filtering step to the transducer pipeline to check for the schema privilege, by calling the HAS_SCHEMA_PRIVILEGE Redshift function to check for USAGE permission Making all-schemas function public since it's now invoked from the Redshift driver Fixing redshift-types-test to remove order flakiness Adding test that confirms that a real schemas with no permissions aren't synced
Showing
- modules/drivers/redshift/src/metabase/driver/redshift.clj 40 additions, 7 deletionsmodules/drivers/redshift/src/metabase/driver/redshift.clj
- modules/drivers/redshift/test/metabase/driver/redshift_test.clj 67 additions, 6 deletions...s/drivers/redshift/test/metabase/driver/redshift_test.clj
- src/metabase/driver/sql_jdbc/sync.clj 2 additions, 1 deletionsrc/metabase/driver/sql_jdbc/sync.clj
- src/metabase/driver/sql_jdbc/sync/describe_database.clj 7 additions, 5 deletionssrc/metabase/driver/sql_jdbc/sync/describe_database.clj
- src/metabase/driver/sql_jdbc/sync/interface.clj 8 additions, 0 deletionssrc/metabase/driver/sql_jdbc/sync/interface.clj
Please register or sign in to comment