[CT-1993] Raise an exception from ref if referencing a private model across groups #6826
Labels
model_groups_access
Issues related to groups
multi_project
user docs
[docs.getdbt.com] Needs better documentation
During resolution, raise an exception if a node attempts to ref a private model from a different group than the referenced private model’s group.
Nodes not in a group (group is
None
) should not be able to reference any private models because they are not part of any group.Note: exposures can have
ref
calls, but are not 'groupable'. Following on the logic above, they should not be able to reference any private models because they are not part of any group.The text was updated successfully, but these errors were encountered: