← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1298478] [NEW] Can't add roles to non-existing users

 

Public bug reported:

The following blueprint is said to be implemented but it isn't:
https://blueprints.launchpad.net/keystone/+spec/no-check-id

If you try to add roles to a user that doesn't exist you get a 404:
{
    "error": {
        "code": 404,
        "message": "Could not find user, 123456.",
        "title": "Not Found"
    }
}

The tests that are implemented for this feature expect to get a 404 also
(see the tests here:
https://review.openstack.org/#/c/72098/5/keystone/tests/test_v3_identity.py):

self.put(member_url, expected_status=404)

So, the blueprint has not been implemented as intended.

Thanks,
Udi.

** 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/1298478

Title:
  Can't add roles to non-existing users

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The following blueprint is said to be implemented but it isn't:
  https://blueprints.launchpad.net/keystone/+spec/no-check-id

  If you try to add roles to a user that doesn't exist you get a 404:
  {
      "error": {
          "code": 404,
          "message": "Could not find user, 123456.",
          "title": "Not Found"
      }
  }

  The tests that are implemented for this feature expect to get a 404
  also (see the tests here:
  https://review.openstack.org/#/c/72098/5/keystone/tests/test_v3_identity.py):

  self.put(member_url, expected_status=404)

  So, the blueprint has not been implemented as intended.

  Thanks,
  Udi.

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


Follow ups

References