keystone/keystone
Colleen Murphy f97df5cb6f Fix role schema in trust object
Previously, we weren't doing any validation on the roles attribute of a
trust except to validate that it was an array. A hasty glance, however,
would lead you to believe that it was validating an array of
parameter_types.id_string[1] and so we translated that to the new role
object validation. However, id_string doesn't include some valid role
names like _member_. This patch updates the role name schema to match
parameter_types.name, which is the same as the schema for the main role
object.

[1] http://git.openstack.org/cgit/openstack/keystone/tree/keystone/trust/schema.py?id=62f9e57cd81dc98c5816da9fa483d385b4c1a66c#n41

Change-Id: I83aafc7a96e81a9b6b1056b39cd8c5d23676c014
Closes-bug: #1734871
2017-11-28 15:21:45 +01:00
..
assignment Remove v2.0 assignment schema 2017-10-19 18:08:32 +08:00
auth Fix 500 error when authenticate with "mapped" 2017-11-08 15:14:41 +08:00
catalog Remove v2 schema and validation tests 2017-10-19 17:20:47 -05:00
cmd Update links in keystone 2017-09-12 15:18:13 +08:00
common Populate user, project and domain names from token into context 2017-11-20 12:13:32 +00:00
conf Update the help message for unique_last_password_count 2017-11-24 08:52:12 +08:00
contrib Fix ec2tokens validation in v2 after regression in metadata_ref removal 2017-07-28 16:20:53 +02:00
credential Adds Bandit #nosec flag to instances of SHA1 2017-09-07 14:01:35 -05:00
endpoint_policy Ensure the endpoint policy API supports HEAD 2017-06-20 19:44:43 +00:00
federation Merge "Emit deprecation warning for federated domain/project APIs" 2017-10-20 20:28:47 +00:00
identity Merge "Filter users/groups in ldap with whitespaces" 2017-11-14 20:26:47 +00:00
locale Imported Translations from Zanata 2017-08-02 07:49:09 +00:00
middleware Remove "no auth token" debug log 2017-10-24 21:54:14 +02:00
models Remove v2 token value model 2017-10-26 16:09:11 +08:00
oauth1 Ensure oauth API supports HEAD 2017-06-21 15:00:38 +00:00
policy Deprecate policies API 2017-11-02 14:59:53 -04:00
resource Merge "Remove ensure_default_domain_exists" 2017-11-04 11:06:30 +00:00
revoke Remove unused revoke_by_domain_role_assignment 2017-03-24 15:22:04 +00:00
server Merge "Remove log translations in keystone" 2017-03-27 17:35:03 +00:00
tests Fix role schema in trust object 2017-11-28 15:21:45 +01:00
token Remove v2 token value model 2017-10-26 16:09:11 +08:00
trust Fix role schema in trust object 2017-11-28 15:21:45 +01:00
v2_crud Remove v2.0 identity APIs 2017-09-29 20:42:12 +00:00
version Remove v2.0 auth APIs 2017-09-30 15:31:45 +00:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py Update the help message for unique_last_password_count 2017-11-24 08:52:12 +08:00
i18n.py Update links in keystone 2017-09-12 15:18:13 +08:00
notifications.py Remove log translations in keystone 2017-03-25 18:17:15 +00:00