← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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. The function will
raise UserDisabled exception when user is disabled.

** Affects: keystone
     Importance: Undecided
     Assignee: jun923.gu (gujun1989)
         Status: In Progress


** Tags: exception keystone

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

** Changed in: keystone
     Assignee: (unassigned) => jun923.gu (gujun1989)

-- 
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):
  In Progress

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. The 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


Follow ups