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
This commit is contained in:
jh629g 2020-05-28 09:53:23 -05:00
parent efb8397228
commit 7eef9932fd
1 changed files with 1 additions and 1 deletions

View File

@ -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: