[openstack-dev] Remove tenant/project ID from Nova v3 API URLs
Jay Pipes
jaypipes at gmail.com
Tue May 14 18:26:08 UTC 2013
On 05/14/2013 02:16 PM, Vishvananda Ishaya wrote:
> Can't we solve this by putting a attribute on the resource itself ("owner")? After all the project_id is really just an attribute on the resource. The policy could then be crafted via attribute matching instead of uri matching.
>
> I don't see any reason to make the "owner" attribute special vs other attributes like state (policy could allow showing of "soft-deleted" vms) or flavor (policy could allow hiding some flavors). Including it in the uri or as a header seems like we are arbitrarily choosing one attribute of the resource and making it extra important. I don't really think that is justified.
This is how the images API works, and seems to be just fine.
-jay
More information about the OpenStack-dev
mailing list