Skip to content

Commit

Permalink
Use grants crawler to crawl grants
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Mar 4, 2025
1 parent 86df651 commit e405ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/hive_metastore/test_grant_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_grant_findings(runtime_ctx: MockRuntimeContext, sql_backend_tacl: SqlBa
ctx.sql_backend.execute(f"DENY SELECT ON TABLE {table_b.full_name} TO `{group.display_name}`")

# Ensure the view is populated (it's based on the crawled grants) and fetch the content.
ctx.grants.snapshot()
ctx.grants_crawler.snapshot()

grants_detail_query = f"""
SELECT object_type, object_id, success, failures
Expand Down

0 comments on commit e405ef6

Please sign in to comment.