Allow sandboxing based on FK even if user doesn't have self-service access to...
Allow sandboxing based on FK even if user doesn't have self-service access to the linked table (#29449) * bypass perm checks for linked tables in a sandbox * clean ns * fix test * add test * uncomment test
Showing
- enterprise/backend/src/metabase_enterprise/sandbox/query_processor/middleware/row_level_restrictions.clj 27 additions, 14 deletions...box/query_processor/middleware/row_level_restrictions.clj
- enterprise/backend/test/metabase_enterprise/sandbox/api/field_test.clj 1 addition, 1 deletion...ckend/test/metabase_enterprise/sandbox/api/field_test.clj
- enterprise/backend/test/metabase_enterprise/sandbox/query_processor/middleware/row_level_restrictions_test.clj 13 additions, 2 deletions...uery_processor/middleware/row_level_restrictions_test.clj
- enterprise/backend/test/metabase_enterprise/sandbox/test_util.clj 2 additions, 2 deletions...se/backend/test/metabase_enterprise/sandbox/test_util.clj
Loading
Please register or sign in to comment