keystone/releasenotes/notes/bug-1736875-c790f568c5f4d671.yaml
wangxiyuan 1f0473a597 Add schema check for authorize request token
This patch add the schema check for authorize
request token API. It'll avoiding some 500 error
caused by invalid input format and it will raise
400 error correctly.

This patch also add role name support for
authorize request token

Closes-bug: #1736875
Change-Id: I9d113692702e7aaa0127ffa9405a17908c0c6ff7
2018-01-10 14:32:16 +08:00

12 lines
431 B
YAML

---
fixes:
- >
[`bug 1736875 <https://bugs.launchpad.net/keystone/+bug/1736875>`_]
Add schema check to return a 400 status code instead of a 500 when
authorize a request token with non-id attributes in the `roles` parameter.
other:
- >
Keystone now supports authorizing a request token by providing a role name.
A `role` in the `roles` parameter can include either a role name or role
id, but not both.