-
Notifications
You must be signed in to change notification settings - Fork 49
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
fix: policy key is not GC while a expired policy is GC #511
Merged
unclezoro
merged 5 commits into
bnb-chain:develop
from
alexgao001:fix-delete-policy-key
Oct 30, 2023
Merged
fix: policy key is not GC while a expired policy is GC #511
unclezoro
merged 5 commits into
bnb-chain:develop
from
alexgao001:fix-delete-policy-key
Oct 30, 2023
Conversation
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
unclezoro
approved these changes
Oct 27, 2023
unclezoro
requested changes
Oct 27, 2023
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.
Need more discussion
alexgao001
force-pushed
the
fix-delete-policy-key
branch
from
October 27, 2023 09:21
20b4573
to
82c06b6
Compare
fynnss
approved these changes
Oct 27, 2023
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.
LGTM
alexgao001
force-pushed
the
fix-delete-policy-key
branch
2 times, most recently
from
October 27, 2023 10:14
78a87c9
to
151dfa5
Compare
alexgao001
force-pushed
the
fix-delete-policy-key
branch
from
October 27, 2023 10:15
151dfa5
to
b984d4c
Compare
pythonberg1997
approved these changes
Oct 27, 2023
unclezoro
approved these changes
Oct 30, 2023
This was referenced Nov 2, 2023
This was referenced Nov 13, 2023
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.
Description
When a account policy is expired, it should be automatically removed from the store with these two mappings:
currently
policyKey -> policyId
is missing so that user would fail to re-put policy on the same resource.When a group policy expired, also need to remove it from the policyGroup.
Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
Notable changes: