[CT-2968] [ModelGov3] Allow access
to be set as config, including in dbt_project.yml
#8383
Labels
access
to be set as config, including in dbt_project.yml
#8383
Housekeeping
Short description
Allow users to set
access
like any other config, including indbt_project.yml
, so that an entire subfolder of models can be markedaccess: private
oraccess: public
.While there is a risk of users accidentally promoting a set of intermediate models to public access, we should make this promotion / "FYI" flow part of the UX in dbt Cloud, rather than a restriction within the framework of
dbt-core
.Acceptance criteria
As an end user, I can set
access
in three places:{{ config() }}
(Jinja-SQL models) ordbt.config()
(Python models)config:
block within yaml properties (in addition to current top-level key, for back-compat)dbt_project.yml
for all models in a subfolderAs a metadata consumer, nothing changes —
access
should always be promoted to a node-level attribute inmanifest.json
(similar tometa
or `tags).config
dict if we promote it to a top-level node attribute (à la our thinking from a few months ago for: [CT-2296] [Spike] Remove the distinction between configs and non-configs #7157)Impact to Adapters
zero impact
Context
Context & conversation:
The text was updated successfully, but these errors were encountered: