]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat common : context should split roles from X-Roles
authorSteven Hardy <shardy@redhat.com>
Wed, 6 Feb 2013 11:39:12 +0000 (11:39 +0000)
committerSteven Hardy <shardy@redhat.com>
Wed, 6 Feb 2013 14:52:02 +0000 (14:52 +0000)
commita45bbcc8e2c2c98cbd673c845a226721931d9729
tree1c11921ff8246cf798cd525c5e76178c8751d976
parentffaad1ffba2e1cb9d06ead8c34df3223c20a51fd
heat common : context should split roles from X-Roles

The auth_token code joins roles with a comma delimiter and stores
the result in the X-Roles header, so we need to split X-Roles back
into a list for the context (otherwise the oslo policy code breaks)

Change-Id: I32bd1d6355b6fe0e16e729f35b1d0b5c61346a70
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/common/context.py