Skip to content

squid: rgw/iam: fix NotEquals handling for multiple values - #67213

Merged
batrick merged 3 commits into
ceph:squidfrom
k0ste:wip-73365-squid
Nov 16, 2026
Merged

batrick merged 3 commits into
ceph:squidfrom
k0ste:wip-73365-squid

Conversation

@k0ste

@k0ste k0ste commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

@k0ste
k0ste requested a review from a team as a code owner February 4, 2026 09:54
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

14 similar comments
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@github-actions github-actions Bot added this to the squid milestone Feb 4, 2026
@k0ste
k0ste force-pushed the wip-73365-squid branch from 7a89290 to 12d551a Compare April 6, 2026 19:35
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@adamemerson

Copy link
Copy Markdown
Contributor

Holding off until next squid.

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels May 14, 2026
@github-actions github-actions Bot added needs-ci-approval releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Sep 3, 2026
supriti added a commit to cobaltcore-dev/ceph that referenced this pull request Sep 24, 2026
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]>
uw-sc pushed a commit to cobaltcore-dev/ceph that referenced this pull request Oct 14, 2026
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]>
- andible/orrible → multimap_all/multimap_any
- shortible → typed_any
- add typed_none and multimap_none

Improves code readability by making function purposes explicit.

Signed-off-by: liubingrun <[email protected]>
(cherry picked from commit c4e750e)
All NotEquals operators (String/Numeric/Date/IP/ARN) now correctly require
the reference value to differ from ALL condition values, not just ANY value.

Signed-off-by: liubingrun <[email protected]>
(cherry picked from commit 225241d)
Signed-off-by: liubingrun <[email protected]>
(cherry picked from commit c8372be)
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Oct 20, 2026
dvanders pushed a commit to dvanders/ceph that referenced this pull request Oct 20, 2026
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]>
@batrick

batrick commented Nov 3, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick batrick modified the milestones: squid, v19.2.8 Nov 3, 2026
@anrao19

anrao19 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao12-testing-2026-11-04-1104-squid.

@anrao19

anrao19 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao12-testing-2026-11-04-1104-squid.

pr testing completed and approved by @ivancich , More details on : https://tracker.ceph.com/issues/82661.
@k0ste, if no further testing is needed then this can be merged

@batrick
batrick merged commit b007b42 into ceph:squid Nov 16, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants