From 7eef9932fd507d485931694e15d1776db2e5bfda Mon Sep 17 00:00:00 2001 From: jh629g Date: Thu, 28 May 2020 09:53:23 -0500 Subject: [PATCH] Update Ranger Auth Process for Update Region action Changed ranger rms authentication to use auth of site in request rather than site of the ranger region when authorizing updating the site Change-Id: I85899e319b47eb70b1a5569894097a21b57e92c0 --- orm/services/region_manager/rms/utils/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm/services/region_manager/rms/utils/authentication.py b/orm/services/region_manager/rms/utils/authentication.py index dfaa709e..877e3e4e 100755 --- a/orm/services/region_manager/rms/utils/authentication.py +++ b/orm/services/region_manager/rms/utils/authentication.py @@ -25,7 +25,7 @@ def authorize(request, action, skip_auth=False): return use_payload_url =\ - action == 'region:create' or action == 'region:update' + action == 'region:create' keystone_ep = None try: if use_payload_url: