-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What should happen when you add-contract to a private model? #85
Comments
it's a good question! i asked @jtcohen6 a similar one about the need to use model governance features in tandem: since it's permissible in core to use each of these features separately from each other, I think I lean that the to your point, yes, it may make sense to have another command to explicitly set access levels! Access is currently the most "magical" feature of the package. I'm of the opinion that access makes the most sense in the context of group definitions or cross project refs, so i'm ok with the setup we have today where the graph dictates the access when declaring a group or splitting a project. |
I disagree with you here! I just did the following workflow:
I'm okay with not automatically updating access when you add a contract, but I do think we then need an operation to update access manually. |
I'm also of the opinion that access levels and contracted models are two orthogonal ideas. Access levels define the keys allowed to unlock a door, and the contract is the directory on the door promising what's inside. These two are useful together, but not a requirement whatsoever. Having that been said, I'd agree 💯 that we should have a CLI operation for bespoke access level updates! |
Describe the bug
Right now when I execute
dbt-meshify operation add-contract -s 2__raw_vault
(which included models that are previously marked asaccess:private
), dbt-meshify does not update those models' access to public.Should it?
Should there be a separate operation for updating access?
Thoughts?
The text was updated successfully, but these errors were encountered: