yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #61831
[Bug 1667367] Re: V2 role create does not allow spaces in the role description
Reviewed: https://review.openstack.org/437797
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=eb535ca4768f20184db4885abec75996ffdeda0c
Submitter: Jenkins
Branch: master
commit eb535ca4768f20184db4885abec75996ffdeda0c
Author: Tin Lam <tinlam@xxxxxxxxx>
Date: Thu Feb 23 23:38:32 2017 -0600
Fix v2 role create schema validation
Currently, creating a new role using the v2 api no longer allows
spaces in the role description. This patch set changes the
schema type, and also fixes a bug in the v2 validation test where
the validation is performed against the v3 schema instead of v2.
Co-Authored-By: Gage Hugo <gagehugo@xxxxxxxxx>
Change-Id: I858005c7805ba87f506933d49715cc3ce0d539e1
Closes-Bug: #1667367
** Changed in: keystone
Status: In Progress => Fix Released
--
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/1667367
Title:
V2 role create does not allow spaces in the role description
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
Creating a new role using V2 APIs no longer allow spaces in the role
description. Looks like it was broken since the introduction of JSON
schema. See
https://github.com/openstack/keystone/blob/master/keystone/assignment/schema.py#L20
Instead of parameter_types.id_string. It should be:
parameter_types.description.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1667367/+subscriptions
References