Monty Taylor a2db877b41 Don't set project_domain if not project scoped
The code to expand domain_{name,id} to {user,project}_domain_{name,id}
is flawed in that it sets a project_domain_{name,id} even if a
project_{name,id} is not set. There is a valid use case for not having
a project_{name,id} - specifically getting a domain-scoped token.

In the case where we do not set a project, check for that and don't make
further assumptions that the domain input needs to be "fixed".

Closes-Bug: #1535676
Change-Id: I825fe4bc375687208bb176bb5990c23fe87c8f9d
2016-01-21 08:11:19 -05:00
..
2016-01-06 16:19:32 -06:00
2015-11-03 12:01:07 -05:00
2016-01-08 20:36:48 -05:00
2016-01-08 20:36:48 -05:00
2015-11-03 10:38:17 -05:00
2015-11-10 17:16:02 -05:00