Comment 9 for bug 1901210

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-tempest-plugin (master)

Reviewed: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/857933
Committed: https://opendev.org/openstack/manila-tempest-plugin/commit/a90e3251d655ada1499c6f627a66036b8ee38a6f
Submitter: "Zuul (22348)"
Branch: master

commit a90e3251d655ada1499c6f627a66036b8ee38a6f
Author: Goutham Pacha Ravi <email address hidden>
Date: Thu Sep 15 09:36:32 2022 -0700

    Expect 404 for unauthorized share access

    As a fix to bug #1901210, manila's API now responds with
    a 404 if a user doesn't have access to a non-public share to
    prevent an existence detection attack. Since manila tempest tests
    can be used for older branches without the fix, we must accommodate
    both error codes - 403 and 404 in our tests for a while.

    Change-Id: I27fdd7dfffeb15965b66dbb3f6b1568c11ff9ad4
    Partial-Bug: #1901210
    Signed-off-by: Goutham Pacha Ravi <email address hidden>