SQL Native all fields show in /api/dataset

We now have a problem,
We are adjusting the system structure, and we are currently adjusting our table structure fields on bigquery, because in order to be compatible with the old report card, we keep the field names that were not standardized before, and then we modify the visibility of the fields by going to admin -> Data Model It is only in detail views, and then we found that requesting /api/dataset in chart -> native sql mode will still respond to the client interface. Is there any solution to prevent this hidden field from appearing in sql mode?

We need to deal with this very urgently now and hope to get your help, thank you very much

Hi @Jakin
No, if you give SQL write permissions to users, then they have access to everything the database credentials allows them to access.
https://github.com/metabase/metabase/issues/1689 - upvote by clicking :+1: on the first post

thanks!