-
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
[Gh 884] IAM policy splitting for requestor IAM policies #1650
base: main
Are you sure you want to change the base?
[Gh 884] IAM policy splitting for requestor IAM policies #1650
Conversation
# Conflicts: # backend/dataall/modules/s3_datasets_shares/services/share_managers/s3_access_point_share_manager.py # backend/requirements.txt # docker-compose.yaml
Can we fix the integration tests? Why are they failing? |
frontend/src/modules/Environments/services/listAllEnvironmentConsumptionRoles.js
Show resolved
Hide resolved
backend/dataall/core/environment/cdk/pivot_role_core_policies/service_quota.py
Show resolved
Hide resolved
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.
Hi @TejasRGitHub thanks for the contribution! I reviewed the IAM chunking with the new utilities and left some easy-fix comments. I stopped after reviewing the the ManagedPolicy
interface as it requires some re-work that could affect the rest of the implementation.
backend/dataall/modules/shares_base/services/share_notification_service.py
Outdated
Show resolved
Hide resolved
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.
Hi @TejasRGitHub thank you for the changes, it is way more in shape :) I added some additional comments with suggestions and improvements. I am also going to request you to 1) fix the failing integration tests and 2) list in the PR description the testing that you have done to ensure this PR is not introducing any error. include all testing scenarios: approve-verify-revoke new share, approve-verify-revoke old share, upgrade an old share....
@dlpzx , I have updated the PR and replied to your comments where I thought more discussion is needed. I have updated the tests that I had done while submitting the PR. I will perform those tests once the PR is ready for merging. Thanks Again for taking the time to review and providing your insightful review comments |
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.
Left one ultra minor change comment about the exceptions name; but other than that the rest looks good! The only missing thing before approve are the integration tests.
Thank you for the great work @TejasRGitHub
Hi @dlpzx , I have updated the PR and fixed unit tests. ✅ . Also , I have tested the code with the test cases ( as described in the PR details section ). |
backend/dataall/modules/shares_base/tasks/share_manager_task.py
Outdated
Show resolved
Hide resolved
.../dataall/modules/s3_datasets_shares/services/share_managers/s3_access_point_share_manager.py
Outdated
Show resolved
Hide resolved
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.
Left some minor changes!
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.
It is reeaady! Thank you @TejasRGitHub 🚀
Feature or Bugfix
Detail
Relates
Tests
Security
Please answer the questions below briefly where applicable, or write
N/A
. Based onOWASP 10.
fetching data from storage outside the application (e.g. a database, an S3 bucket)? No
eval
or similar functions are used?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.