← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282812] Re: default value for user_enabled_default is confusingly 'True'

 

The implementation might require an int, but I'd argue that boolean
values in the config file provide much more explicit self-documentation.

** Changed in: keystone
       Status: New => Opinion

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

Title:
  default value for user_enabled_default is confusingly 'True'

Status in OpenStack Identity (Keystone):
  Opinion

Bug description:
  The default value for user_enabled_default is 'True', but the code
  appears to want it to be an int, from ldap.py:

   enabled = int(obj.get('enabled', self.enabled_default))

  Since True in python is 1, I think changing all the examples and
  sample conf to '1' would make sense. Am happy to fix this once I get a
  2nd opinion.

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


References