-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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-1993] Raise an exception from ref if referencing a private model across groups #6826
Closed
Tracked by
#6747
Labels
model_groups_access
Issues related to groups
multi_project
user docs
[docs.getdbt.com] Needs better documentation
Comments
github-actions
bot
changed the title
Raise an exception from ref if referencing a private model across groups
[CT-1993] Raise an exception from ref if referencing a private model across groups
Feb 1, 2023
MichelleArk
added
Team:Language
model_groups_access
Issues related to groups
multi_project
labels
Feb 1, 2023
MichelleArk
changed the title
[CT-1993] Raise an exception from ref if referencing a private model across groups
[CT-1993] Raise a compilation error from ref if referencing a private model across groups
Feb 1, 2023
Discussed live: We may want a new class of exception,
(as distinct from existing |
MichelleArk
changed the title
[CT-1993] Raise a compilation error from ref if referencing a private model across groups
[CT-1993] Raise an exception from ref if referencing a private model across groups
Feb 1, 2023
From 2/6 Estimation - |
As @emmyoop rightly knew (or guessed), we already have an exception named
|
6 tasks
6 tasks
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: