yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #57670
[Bug 1448602] Re: [api] /v3/policy incorrectly shows user_id and project_id as supported parameters
Reviewed: https://review.openstack.org/385134
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=abe6157e5a1cdfba74b1d775630424eff08cbb34
Submitter: Jenkins
Branch: master
commit abe6157e5a1cdfba74b1d775630424eff08cbb34
Author: Steve Martinelli <s.martinelli@xxxxxxxxx>
Date: Tue Oct 11 15:50:02 2016 -0400
[api] remove `user_id` and `project_id` from policy
There is no user ID and project ID support for the /v3/policy
APIs. The schema [1] validates this.
[1] https://github.com/openstack/keystone/blob/master/keystone/policy/schema.py
Change-Id: I53197412c60513756bce42089f5e959d6c9a7c34
Closes-Bug: #1448602
** 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/1448602
Title:
[api] /v3/policy incorrectly shows user_id and project_id as supported
parameters
Status in OpenStack Identity (keystone):
Fix Released
Status in openstack-api-site:
Fix Released
Bug description:
Recently, when I was trying to construct policy related HTTP requests
according to the API Complete Reference's Identity v3 API page, the
requests I constructed are not accepted by Keystone.
So I used openstackclient to do what I want and got the network
packets using wireshark. Then I found that the correct requests and
responses are actually not the ones recorded in API Complete
Reference.
For example, in order to create a policy, the API details showed in
API Complete Reference: http://developer.openstack.org/api-ref-
identity-v3.html#createPolicy indicates that "project_id" and
"user_id" are needed, while actually they are not! The HTTP requests
constructed by openstackclient are same with those in API guide of
Keystone, still, taking policy creation as an example,
http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-
api-v3.html#create-policy
Thus, I think that the policy related API reference in API Complete
Reference is out dated and should be modified according to Keystone's
api specs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1448602/+subscriptions
References