Check either X_HTTP_API_ROLE or X_HTTP_ROLE for user_visible
Currenlty neutron requests come with X_HTTP_API_ROLE and
with the multi_tenancy set to false this field is not
converted to X_HTTP_ROLE. X_HTTP_ROLE is used internally
to check the permissions.
Partial-Bug: #1377139
(cherry picked from commit 65b1aa3334c97b41ed74c599728dc1272cfe5d19)
Reviewed: https:/ /review. opencontrail. org/4155 github. org/Juniper/ contrail- generateDS/ commit/ 75a5b520d1c852b 2d26180db28d15a 4abd269b2e
Committed: http://
Submitter: Zuul
Branch: R1.10
commit 75a5b520d1c852b 2d26180db28d15a 4abd269b2e
Author: Sylvain Afchain <email address hidden>
Date: Fri Oct 3 18:06:07 2014 +0200
Check either X_HTTP_API_ROLE or X_HTTP_ROLE for user_visible
Currenlty neutron requests come with X_HTTP_API_ROLE and
with the multi_tenancy set to false this field is not
converted to X_HTTP_ROLE. X_HTTP_ROLE is used internally
to check the permissions.
Partial-Bug: #1377139 1ed74c599728dc1 272cfe5d19)
(cherry picked from commit 65b1aa3334c97b4
Conflicts:
ifmap_frontend.py
Change-Id: I11a853ec617b19 a76bfc1334a1196 ec83ee0a856