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 <gouthampravi@gmail.com>
(cherry picked from commit a90e3251d655ada1499c6f627a66036b8ee38a6f)
Closes-Issue: PRODX-30848
(cherry picked from commit e4109e6c530d6b3fd22ed6162ebdba0e270bc720)
2 files changed