]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
adds user_id to check_is_admin
authorBrent Roskos <roskosb@yahoo.com>
Sun, 16 Aug 2015 12:41:48 +0000 (08:41 -0400)
committerBrent Roskos <roskosb@yahoo.com>
Tue, 25 Aug 2015 11:46:18 +0000 (04:46 -0700)
commit9840721b51671296816d681dbd4b9afe221f68b4
treea2e3b78c2514b14d66a5d6325cec3294b6753be3
parent30cd678b57a5d8d87f06b2dc9a2707e04b1b806e
adds user_id to check_is_admin

A small tactical update to allow cinder to consider user_id
when checking for admin.

This is needed in the field until the larger changes around
admin scoping are completed. Checking for role only is not
sufficient in a multi-domain configuration.

juno-backport-potential
kilo-backport-potential

closes-bug: 968696

Change-Id: I0cb99186bd833c4c32964490c4bc6da9ad42d320
cinder/context.py
cinder/policy.py