Add all project hierarchy to context

Registered by kourosh vivan on 2017-06-02

In Keystone perspective, project can be parent of other project. This should be known in context.

Oldest parent of project must be his domain (which is the same as his parent project, see below). Two reasons:
- make RBAC (like neutron's) filtering easier and possible for domain without difficulty.
- since parent project exist, domain must be handle as a special project.

Project parent can only be set at project creation (since identity 3.4):
https://developer.openstack.org/api-ref/identity/v3/

Project and his parent must be in same domain:
Cannot create project, since it specifies its owner as domain XXXXXXXXX, but specifies a parent in a different domain (default). (HTTP 400)

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
kourosh vivan
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.