Skip to content
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

Fix: ResourceGrouper no longer considers test resources during access control inference step #89

Conversation

nicholasyager
Copy link
Collaborator

Resolves: #86

Description

I've created a new class method called clean_subgraph, which creates a new subgraph that has all test nodes removed. This allows the _generate_resource_group to only consider access levels for non-test node connections. This will prevent nodes with only test child nodes from being marked as private.

A new unit test has been added to confirm functionality.

@nicholasyager nicholasyager added the bug Something isn't working label Jul 1, 2023
@nicholasyager nicholasyager self-assigned this Jul 1, 2023
@nicholasyager nicholasyager requested a review from b-per July 3, 2023 15:03
Copy link
Collaborator

@dave-connors-3 dave-connors-3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦞 ! thanks for the quick turnaround on this!

@dave-connors-3 dave-connors-3 merged commit 91427bc into dbt-labs:main Jul 5, 2023
@nicholasyager nicholasyager deleted the nicholasyager-limit_resource_types_access_controls branch August 7, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

group classification is too inclusive for model access
2 participants