-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[CT-2578] [Feature] Hierarchical access config in dbt_project.yml #7619
Comments
Thanks for reaching out @sp-tkerlavage ! The Are you requesting that the
|
Yes thats what I meant, sorry for the confusion. I meant it would be nice to have the access property as a config so that it can be assigned hierarchically. |
No prob @sp-tkerlavage. I did some research, and this was an intentional decision as described here:
and affirmed again here:
Given that this was an intentional decision, my default inclination would be to close this as "not planned" unless new information has come to light that wasn't considered originally. What do you think @jtcohen6? |
Actually one last bit of input, if the goal is to make sure that model access is set to Or another suggestion is for access to be a property of the group, where again it can either be left as the default
In my use case I want everything to be |
Sorry for the delayed follow-up! @dbeatty10 @joellabes and I have been chatting about this. I think there are two options here:
This is an opinion I've held strongly, but I can be overruled! My concern is that the full implications of setting a model to The right answer here could still be process, rather than technical. It could be part of the PR description / review process: "Which new public models am I creating / existing models am I designating as public for the first time"? |
I think yes, if and only if we're able to alert dbt Cloud users that a given code change is "adding X new We could handle setting access the same way (rather than allowing setting |
Thanks for writing that up @graciegoheen! I really liked where we landed in the conversation on Monday. We should make Within |
Update: I am talking with @thorn14 about what ^this could look like :) Not a hard blocker to pursuing this work in the meantime. At this point, we should probably open a dedicated implementation ticket for:
Update: Implementation ticket opened: #8383 |
Would love to see this feature - being able to set access to private on a directory level would be very helpful for governance of what models can be built upon! |
I'm closing this as a duplicate, since we are tracking the implementation on #8383 Thanks for all of your input :) |
Is this your first time submitting a feature request?
Describe the feature
The new groups and access features have been defined as properties
https://docs.getdbt.com/reference/resource-properties/access
Is it possible to instead define them as configs so that they can be specified in the dbt_project.yml hierarchically?
dbt_project.yml:
Then certain model configurations can override these hierarchical definitions?
path1.yml
Describe alternatives you've considered
Obviously we can define the access individually for each model as shown in the documentation
Who will this benefit?
Anyone that wants to hierarchically apply groups/access to large swaths of models
Are you interested in contributing this feature?
Most likely not familiar enough with the inner workings of dbt-core to contribute
Anything else?
No response
The text was updated successfully, but these errors were encountered: