ENG-7055: Add ABAC high level Python client support: policies, resource attributes, and user attrs#419
Open
dengjonathan wants to merge 10 commits intomainfrom
Open
ENG-7055: Add ABAC high level Python client support: policies, resource attributes, and user attrs#419dengjonathan wants to merge 10 commits intomainfrom
dengjonathan wants to merge 10 commits intomainfrom
Conversation
…ibutes - Add low-level wrappers for policies, resource attributes, and user attributes - Add high-level APIs for policies, resource attributes, and user attributes - Add comprehensive integration tests with workflow and error case coverage - Add test_user_id fixture to use authenticated user ID in tests - Fix proto conversion issues for nested fields (cedar_policy, initial_enum_values, entity) - Fix CEL filter issues (remove is_archived from user attributes filters) - Fix policy update to copy read-only fields from current policy
- Fix ruff and mypy errors in ABAC client code - Add noqa comments for intentional pytest.raises(Exception) usage - Add noqa comments for cleanup try-except in loops - Fix unused variable and whitespace issues - Run ruff format on all new files
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following the pattern in the sift_client library, the client code is implemented in two layers: