keystone/keystone/trust
Jamie Lennox b3e065efaa Remove get_user_id in trust controller
The get_user_id function relied on the token model in auth_context -
which amongst other things means it would fail with a tokenless auth
context. This can be replaced with user_id from the request.context.

Normally I try not to mix in cleanups, but whilst doing this and
changing variables in list_trusts a small reshuffle and some whitespace
just made the whole thing actually readable.

Change-Id: I5b64210fc797961b422a0ab9a1b4cee078fe6a0f
2016-07-14 18:28:30 +10:00
..
backends Move the trust abstract base class out of core 2016-07-07 17:11:13 +00:00
__init__.py Remove exposure of routers at package level 2015-12-03 15:06:56 -03:00
controllers.py Remove get_user_id in trust controller 2016-07-14 18:28:30 +10:00
core.py Move the trust abstract base class out of core 2016-07-07 17:11:13 +00:00
routers.py Change V3 router classes to provide JSON Home data 2014-08-26 09:56:52 -05:00
schema.py Loosen the validation schema used for trustee/trustor ids 2015-03-25 19:11:52 +00:00