Project

General

Profile

Actions

Bug #70481

closed
CB CB

iam policy parses ArnLike/ArnEquals conditions but evaluates them to false

Bug #70481: iam policy parses ArnLike/ArnEquals conditions but evaluates them to false

Added by Casey Bodley over 1 year ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
reef squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
iam
Fixed In:
v20.0.0-657-gce31042485
Released In:
v20.2.0~794
Upkeep Timestamp:
2026-08-28T01:51:15+00:00

Description

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN

the policy parser does support these ArnLike/ArnEquals conditions, but they're commented out in Condition::eval():

#if 0
    // Amazon Resource Names! (Does S3 need this?)
    TokenID::ArnEquals, TokenID::ArnNotEquals, TokenID::ArnLike,
      TokenID::ArnNotLike,
#endif


Related issues 2 (0 open — 2 closed)

Copied to rgw - Backport #70595: reef: iam policy parses ArnLike/ArnEquals conditions but evaluates them to falseResolvedCasey Bodley

Actions
Copied to rgw - Backport #70596: squid: iam policy parses ArnLike/ArnEquals conditions but evaluates them to falseResolvedCasey Bodley

Actions

JI Updated by J. Eric Ivancich over 1 year ago Actions #1

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 1 year ago Actions #2

  • Copied to Backport #70595: reef: iam policy parses ArnLike/ArnEquals conditions but evaluates them to false added

UB Updated by Upkeep Bot over 1 year ago Actions #3

  • Copied to Backport #70596: squid: iam policy parses ArnLike/ArnEquals conditions but evaluates them to false added

UB Updated by Upkeep Bot over 1 year ago Actions #4

  • Tags (freeform) changed from iam to iam backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #5

  • Merge Commit set to ce3104248555ac3e09071108d95f74ba1f3f00ad
  • Fixed In set to v20.0.0-657-gce310424855
  • Upkeep Timestamp set to 2025-07-08T18:06:59+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Fixed In changed from v20.0.0-657-gce310424855 to v20.0.0-657-gce3104248555
  • Upkeep Timestamp changed from 2025-07-08T18:06:59+00:00 to 2025-07-14T15:21:24+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • Fixed In changed from v20.0.0-657-gce3104248555 to v20.0.0-657-gce31042485
  • Upkeep Timestamp changed from 2025-07-14T15:21:24+00:00 to 2025-07-14T20:45:57+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #8

  • Released In set to v20.2.0~794
  • Upkeep Timestamp changed from 2025-07-14T20:45:57+00:00 to 2025-11-01T01:00:09+00:00

AE Updated by Adam Emerson 4 months ago Actions #9

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #10

  • Tags (freeform) changed from iam backport_processed to iam
  • Upkeep Timestamp changed from 2025-11-01T01:00:09+00:00 to 2026-08-28T01:51:15+00:00
Actions

Also available in: PDF Atom