Description of problem: In some share metadata operations performed on a share resource in another project by member and reader users, the response code is 403/Forbidden but actually it should be 404/Not Found.
Below are the problematic locations: https://github.com/openstack/manila-tempest-plugin/blob/master/manila_tempest_tests/tests/rbac/test_shares.py#L502 https://github.com/openstack/manila-tempest-plugin/blob/master/manila_tempest_tests/tests/rbac/test_shares.py#L486 https://github.com/openstack/manila-tempest-plugin/blob/master/manila_tempest_tests/tests/rbac/test_shares.py#L469 https://github.com/openstack/manila-tempest-plugin/blob/master/manila_tempest_tests/tests/rbac/test_shares.py#L653 https://github.com/openstack/manila-tempest-plugin/blob/master/manila_tempest_tests/tests/rbac/test_shares.py#L631
Actual results: The error code response in 403/Forbidden
Expected results: 404/Not Found
Description of problem:
In some share metadata operations performed on a share resource in another project
by member and reader users, the response code is 403/Forbidden but actually it should
be 404/Not Found.
Below are the problematic locations: /github. com/openstack/ manila- tempest- plugin/ blob/master/ manila_ tempest_ tests/tests/ rbac/test_ shares. py#L502 /github. com/openstack/ manila- tempest- plugin/ blob/master/ manila_ tempest_ tests/tests/ rbac/test_ shares. py#L486 /github. com/openstack/ manila- tempest- plugin/ blob/master/ manila_ tempest_ tests/tests/ rbac/test_ shares. py#L469 /github. com/openstack/ manila- tempest- plugin/ blob/master/ manila_ tempest_ tests/tests/ rbac/test_ shares. py#L653 /github. com/openstack/ manila- tempest- plugin/ blob/master/ manila_ tempest_ tests/tests/ rbac/test_ shares. py#L631
https:/
https:/
https:/
https:/
https:/
Actual results:
The error code response in 403/Forbidden
Expected results:
404/Not Found