Skip to content

Conversation

@aosingh
Copy link
Member

@aosingh aosingh commented Aug 29, 2022

Managing access grants is one of the most asked for features from dbt users. With the following changes, dbt can fetch current access grants, then calculate the diff and then apply grant/revoke statements.

  • Implemented macros oracle__get_show_grant_sql() and oracle__call_dcl_statements()
  • Updated table, view, incremental and snapshot materializations to fetch and update grants
  • Added new testcases for test grants
  • Updated GitHub actions workflow to create new test users DBT_TEST_USER_1, DBT_TEST_USER_2 and DBT_TEST_USER_3

- Implemented macros oracle__get_show_grant_sql() and oracle__call_dcl_statements()
- Updated materializations to fetch and update grants
- Added new testcases for test grants
- Updated Github actions workflow to create new test users DBT_TEST_USER_1, DBT_TEST_USER_2 and DBT_TEST_USER_3
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 29, 2022
Copy link

@ramapemmaraju ramapemmaraju left a comment

Choose a reason for hiding this comment

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

looks fine to me

@aosingh aosingh merged commit ddc7930 into main Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants