← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1842416] Re: assert_user_enabled function should raise UserDisabled exception when user is disabled

 

Thanks for the bug report, but as I commented on the patch the assertion
function is working as intended and should not be changed.

** Changed in: keystone
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1842416

Title:
  assert_user_enabled function should raise UserDisabled exception when
  user is disabled

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  I encounter the situation that keystone raise a AssertionError
  exception when user is disabled. I think keystone should raise
  UserDisabled exception to be identified easily by client.At the same
  time, keystone also should keep the consistency with
  keystone/idenity/backeds/sql.py:authenticate function. That is to say,
  the authenticate function will raise UserDisabled exception when user
  is disabled.

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


References