-
Notifications
You must be signed in to change notification settings - Fork 82
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
add resource permission checks #1711
Open
petrkalos
wants to merge
47
commits into
main
Choose a base branch
from
feature/nested_resolver_tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
bed7d27
add resource permission checks
petrkalos 15b19b8
force enable all modules
petrkalos 646c7eb
test_id
petrkalos cf5a0be
DRY
petrkalos 4c599ff
add more tests
petrkalos 77a8b82
query.filter.all mock returns list
petrkalos 1fa5c08
assert called_once only without expecting to raise as some resolvers …
petrkalos 5dad8dc
filter out networks
petrkalos f11e3f5
ignore reason
petrkalos 0f12c31
fix check order
petrkalos 377bef8
fix find_environment_by_uri invocation
petrkalos 32a85cc
remove get_dataset check
petrkalos a5ffea9
fix test client to allow errors
petrkalos 46d134b
fix test client
petrkalos c2e4949
fix datasetlist
petrkalos 49fd527
fix dataset view
petrkalos c22fea3
add pipeline exceptions for checkov
petrkalos 4671a4e
fix tests
petrkalos 5e83ea6
fix folder ui
petrkalos 3c54f3c
use explicit tenant perms
petrkalos 6a15647
make use of testdata
petrkalos ec6beb0
generalise resource/tenant tests
petrkalos 8681d7e
add test
petrkalos 9646835
add postinit
petrkalos 64ac83a
rename to tenat
petrkalos b557d81
appsupport
petrkalos b9cc73b
improve IgnoreReason
petrkalos f60b2ba
dispatch all
petrkalos 921b830
explicit tests
petrkalos 6163197
mock tenant
petrkalos c3b221d
indirect check support using TargetType
petrkalos c7395b7
indirect check support using TargetType
petrkalos 89e27a9
add checks
petrkalos dcb42f1
add checks
petrkalos eb770bc
add checks
petrkalos 724dd95
merge tests
petrkalos 0bd0a90
mock aws calls for speed
petrkalos 6b316c0
add deleteDataPipelineEnvironment perm
petrkalos afec8eb
workaround inf loop
petrkalos 754f51a
call get_organization
petrkalos e9469f9
introduce dataset_service.py::find_dataset
petrkalos fd355b6
split into 2 tests
petrkalos 28006c0
add unchecked test and parametrize based on type
petrkalos e2e26b5
fix semgrep
petrkalos d88540a
simplify
petrkalos d9fcfa2
add tenant_admin checks
petrkalos e65674c
remove inf loop workaround
petrkalos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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
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.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used, (we could use it by find_dataset_by_uri if implemented)