Repository navigation
squid-19.2.7: Backport/613 - #32
Merged
Merged
Conversation
Implements the feature for RGW to abort requests when the LUA scripts return a certain error code. This code is implemented in LUA as RGW_ABORT_REQUEST, and in RGW it is interpreted as -EPERM. Fixes: https://tracker.ceph.com/issues/73485 Signed-off-by: Emin Mert sunacoglu <[email protected]> (cherry picked from commit 68396f6) (cherry picked from commit 7fc21ad) Signed-off-by: Uwe Schwaeke <[email protected]>
Expose bucket tags (from RGW_ATTR_TAGS) to the RGW Lua Request.Bucket.Tags table, allowing lua scripts to read these tags. Fixes: https://tracker.ceph.com/issues/74756 Signed-off-by: Emin Sunacoglu <[email protected]> Apply suggestion from @yuvalif Co-authored-by: Yuval Lifshitz <[email protected]> Signed-off-by: Emin Mert Sunacoglu <[email protected]> (cherry picked from commit 6e09062) (cherry picked from commit 7dccd23) Signed-off-by: Uwe Schwaeke <[email protected]>
Currently, the prerequest Lua context runs after authentication is done, but before the authorization. Because of this, bucket specific data like bucket tags and tenant info are not loaded yet into the environment when the prerequest script runs. PR implements a new Lua hook after user is authorized and bucket context is ready, but before we handle the actual request. Fixes: https://tracker.ceph.com/issues/75195 Signed-off-by: Emin Mert Sunacoglu <[email protected]> (cherry picked from commit fba3006) (cherry picked from commit 62063c4) Signed-off-by: Uwe Schwaeke <[email protected]>
Signed-off-by: Emin Mert Sunacoglu <[email protected]> (cherry picked from commit a1fabd1) Signed-off-by: Uwe Schwaeke <[email protected]>
Signed-off-by: Emin Mert Sunacoglu <[email protected]> (cherry picked from commit 9fa9c5a) Signed-off-by: Uwe Schwaeke <[email protected]>
Signed-off-by: Uwe Schwaeke <[email protected]>
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.
Closes cobaltcore-dev/cloud-storage#613
Backport file
release-management/backports/<uuid>.mdadded (or updated) by this PRidin frontmatter matches the filename stemprovenance.upstream_prsset (orprovenance.type: otherwith another:block)Stage-B risk (filled per
release-management/backports/RISK-RUBRIC.md)blast— cosmetic / availability / data-lossconflict— clean / trivial / substantivecoverage— strong / partial / weakhighband)Merge
Land this via
just merge-backport PR=<N>— do not click the green merge button.The just recipe constructs the merge commit's
Backport-Idtrailer.