Repository navigation
squid-19.2.7: Backport/611-612 - #31
Merged
Merged
Conversation
Keystone roles are injected into the IAM policy evaluation environment as "keystone:role" condition keys. This enables bucket policies to grant or deny access based on Keystone roles. It bridges the gap between Openstack RBAC and S3 IAM policy. Document keystone:role in bukcet policy and Keystone S3 integration Signed-off-by: Supriti Singh <[email protected]> Signed-off-by: Marcel Lauhoff <[email protected]> On-behalf-of: SAP <[email protected]> On-behalf-of: SAP <[email protected]> (cherry picked from commit 1e6e393) (cherry picked from commit d4299ee) Signed-off-by: Uwe Schwaeke <[email protected]>
Expose the Keystone token user UUID as condition key "keystone:userid" so IAM and bucket policies can restrict access by user (e.g. per-user buckets or user-specific allow/deny). On-behalf-of: SAP <[email protected]> Signed-off-by: Supriti Singh <[email protected]> (cherry picked from commit b06b7a8) (cherry picked from commit 7a9468d) Signed-off-by: Uwe Schwaeke <[email protected]>
Upstream fixed the NotEquals operators in 225241d (ceph#65606), which is not on squid. Without it they return wrong results when keystone:role holds several values, which is the normal case. That fix is not included here: it changes evaluation of every condition key, so it needs its own backport and review. The upstream squid backport is ceph#67213. Until one of those lands, document StringEquals only and warn against the NotEquals variants. Signed-off-by: Supriti Singh <[email protected]> (cherry picked from commit 5d27a8f) 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#611
Closes cobaltcore-dev/cloud-storage#612
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.