Allow common DDL commands in actions for H2 (#29826)
* Add safe DDL commands to the whitelist for actions * Run 'GRANT ALTER ANY SCHEMA TO GUEST;' on sample database * Grant permissions for test databases and add test for sample database * Fix test * Fix test * Add test for adding/removing columns
Showing
- resources/sample-database.db.mv.db 0 additions, 0 deletionsresources/sample-database.db.mv.db
- src/metabase/driver/h2.clj 12 additions, 0 deletionssrc/metabase/driver/h2.clj
- test/metabase/driver/h2_test.clj 7 additions, 5 deletionstest/metabase/driver/h2_test.clj
- test/metabase/sample_data_test.clj 31 additions, 0 deletionstest/metabase/sample_data_test.clj
- test/metabase/test/data/h2.clj 2 additions, 1 deletiontest/metabase/test/data/h2.clj
No preview for this file type
Please register or sign in to comment