]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: Fix the return code returned by AuthStrategy, 52510/head
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 20 Jul 2023 06:05:09 +0000 (11:35 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 8 Aug 2023 03:57:48 +0000 (09:27 +0530)
commit6f7ef8620e52be776ef633bb962a4309996529df
treea68ac9a07648b3ff7bb404e278f2060a977905dd
parentd79e61895ad4f09f1535ac78139682b02984ac60
rgw/auth: Fix the return code returned by AuthStrategy,
in case of LocalEngine authentication, when the previous
auth engine is Not Applicable. The error code now returned
is the one returned by LocalEngine.

fixes: https://tracker.ceph.com/issues/61916

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/rgw_auth.cc
src/rgw/rgw_rest_s3.cc