Merge "secure-rbac - minor follow-up for project scoped tests"

This commit is contained in:
Zuul 2021-03-02 11:38:01 +00:00 committed by Gerrit Code Review
commit 5857fa802d
1 changed files with 1 additions and 4 deletions

View File

@ -19,7 +19,7 @@
# One note regarding return codes. Third party admin, should mainly get
# 404 return codes as opposed to 403. Because their view is filtered,
# They can't find the resources to attempt to edit. This is a huge
# distinction because we alsod on't want to leak that something exists
# distinction because we also don't want to leak that something exists
# from a security point of view. If we don't return 404, and they get 403,
# they can determine that something is special, something is different,
# and from there try to determine *what* it is. The key in their case
@ -1782,9 +1782,6 @@ third_party_admin_cannot_get_ports_by_portgroup:
assert_status: 403
skip_reason: policy not implemented
# TODO(TheJulia): Huge question hitting me... will these 404 or 403 for 3rd party admin. Likely we should return 404 if they do not have rights to the node itself. A slight delineation between the two.
# Volume(s) - https://docs.openstack.org/api-ref/baremetal/#volume-volume
# TODO(TheJulia): volumes will likely need some level of exhaustive testing.
# i.e. ensure that the volume is permissible. However this may not be possible