This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support bindings in BigQuery rules (#1977)
* Default non-existent fields in bigquery acl to glob to make it easier to write rules * use dict .get for default value instead * Update tests to use bindings * add comment to specify which fields default to glob * update remaining tests * implement bindings * uncomment tests * fix test files * support backwards compatibility * make whitelists and blacklists work correctly for unset fields * make dataset_id required * update doc * check for bindings earlier * simplify applicable rules check * bring back old bindings check, simplify has applicable rules check * simplify get members * lint fixes * lint fixes * lint fixes, merge, remove unnecessary pop * allow only one member field to be set * minor refactoring * lint fixes
- Loading branch information
1 parent
af66fd5
commit b105396
Showing
13 changed files
with
293 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.