← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259735] [NEW] Change attribute_ignore from string to list

 

Public bug reported:

In keystone/common/ldap/core.py,
when self.attribute_ignore is loaded from the config, it is loaded as a string, not a list. This causes all the 
  if...k in self.attribute_ignore:
checks to not behave as expected. 

For example, if user_attribute_ignore looks like this:
user_attribute_ignore=project_id,foo_bar
then attributes named project, id, foo, and bar would all be ignored because they are all in that string

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  Change attribute_ignore from string to list

Status in OpenStack Identity (Keystone):
  New

Bug description:
  In keystone/common/ldap/core.py,
  when self.attribute_ignore is loaded from the config, it is loaded as a string, not a list. This causes all the 
    if...k in self.attribute_ignore:
  checks to not behave as expected. 

  For example, if user_attribute_ignore looks like this:
  user_attribute_ignore=project_id,foo_bar
  then attributes named project, id, foo, and bar would all be ignored because they are all in that string

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


Follow ups

References