Sandboxing a model?

With a Pro/Enterprise license, is it possible to sandbox a model?

That is, add a

[[WHERE user_id = {{cid}}]]

clause to the SQL in the model?


You can’t sandbox sql questions, if you have a paid plan please contact support

Our workaround for this is to get rid of models in metabase and replace them with views (in Snowflake). Metabase treats a snowflake view like a raw table, and adding column based sandboxing on the view is trivial.

just posting in case anyone else runs into this.

yup, exactly, thanks for posting!