← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1321536] [NEW] mapping engine ignores multiple assertion values when using regex

 

Public bug reported:

Previously, if the mapping engine saw a regex value, it would only
compare the first "mapping value" and the first "assertion value".

For instance,  if the mapping value was from the ".*tester*" and the
assertion values were ['developer','tester','deployer']  it will fail
the mapping check.

The solution would be to actually iterate over the assertion values
until no match is found.

** Affects: keystone
     Importance: Undecided
     Assignee: Steve Martinelli (stevemar)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1321536

Title:
  mapping engine ignores multiple assertion values when using regex

Status in OpenStack Identity (Keystone):
  In Progress

Bug description:
  Previously, if the mapping engine saw a regex value, it would only
  compare the first "mapping value" and the first "assertion value".

  For instance,  if the mapping value was from the ".*tester*" and the
  assertion values were ['developer','tester','deployer']  it will fail
  the mapping check.

  The solution would be to actually iterate over the assertion values
  until no match is found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1321536/+subscriptions


Follow ups

References