keystone/keystone/trust
wangxiyuan f8e79ab507 Fix 500 error when create trust with invalid role key
When create trust with invalid role key(neither 'id' nor
'name'), Keystone should raise 400 BadRequest, instead of
500 Internal Error.

This patch removed the redundant loops in
_normalize_role_list as well.

Change-Id: I62bd201c1dda7b573e2ee8b97322c1f25275892c
Closes-bug: #1734244
2017-11-27 15:11:34 +00:00
..
backends Make use of Dict-base including extras explicit 2017-02-06 19:15:15 -08:00
__init__.py Remove exposure of routers at package level 2015-12-03 15:06:56 -03:00
controllers.py Fix 500 error when create trust with invalid role key 2017-11-27 15:11:34 +00:00
core.py Invalidate trust when the trustor or trustee is deleted 2016-10-13 09:36:04 +08:00
routers.py Ensure the trust API supports HEAD requests 2017-06-21 15:04:03 +00:00
schema.py Fix 500 error when create trust with invalid role key 2017-11-27 15:11:34 +00:00