commit 9ae0a0702c4a32407b1d00e93bd1be01e2ec26bc
Author: Kota Tsuyuzaki <email address hidden>
Date: Fri Mar 20 00:59:15 2015 -0700
Fix a lack of method arguments at tempauth
This fixes a kind of trivial issue with TypeError caused by a lack
of method argument at calling.
When using 'Authorization' header with tempauth, tempauth calls
_get_user_groups with 3 arguments (includes self) on current code
but the method requires 4 arguments so it will go to fail with 500.
This patch fixes to take correct arguments and adds an unit test
for the case.
Reviewed: https:/ /review. openstack. org/166129 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=9ae0a0702c4 a32407b1d00e93b d1be01e2ec26bc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9ae0a0702c4a324 07b1d00e93bd1be 01e2ec26bc
Author: Kota Tsuyuzaki <email address hidden>
Date: Fri Mar 20 00:59:15 2015 -0700
Fix a lack of method arguments at tempauth
This fixes a kind of trivial issue with TypeError caused by a lack
of method argument at calling.
When using 'Authorization' header with tempauth, tempauth calls user_groups with 3 arguments (includes self) on current code
_get_
but the method requires 4 arguments so it will go to fail with 500.
This patch fixes to take correct arguments and adds an unit test
for the case.
Closes- Bug:1434465
Change-Id: Ibf00c41fa8e5cf daf49bc4d571e57 5d7f229ebfe