gouline / dbt-metabase

dbt + Metabase integration
https://pypi.org/project/dbt-metabase/
MIT License
461 stars 71 forks source link

Permission System sync #82

Closed patygold closed 12 months ago

patygold commented 2 years ago

On Metabase, it's possible to define permissions restrictions to tables for certain groups (Such as in the picture) image

In the Open Source plan for Metabase, we can define if this group has either "Unrestricted" or "No self-Service" permission to the table, I am not sure if this changes for the other plans.

Is the automation for the permission system, something planned/wanted for this package?

One suggestion that could make it possible is to add this in the meta section of the table definition, and define which groups have which level of permission: image

gouline commented 2 years ago

Definitely not planned and probably a little too far in my opinion - the purpose of dbt-metabase is not to be a fully-featured infrastructure as code tool for Metabase shoehorned into dbt syntax. However, this particular feature is still borderline related to the data models, so if you (or somebody else) were to contribute a pull request implementing it, I wouldn't be against it.