manila/releasenotes/notes/bug-1901210-return-404-if-share-access-forbidden-02ca9a9552ad3e15.yaml
Goutham Pacha Ravi dfb4e7ee93 [RBAC] Return 404 if share is inaccessible
When a user is prevented from listing a non-public
share, the API service would return a 403 Forbidden.
This isn't consistent with the API SIG's guidance
on resources restricted by virtue of RBAC policy since
users with malicious intent may use the signal to
mean that the resource exists.

Depends-On: I27fdd7dfffeb15965b66dbb3f6b1568c11ff9ad4
Change-Id: I7e05dcb343c932cc7fec8d395919053d0a1801ce
Closes-Bug: #1901210
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
(cherry picked from commit 6303741be2)
(cherry picked from commit 078bc4300a)
2022-09-27 05:38:48 +00:00

7 lines
208 B
YAML

---
fixes:
- |
The GET /shares/{share_id} API now responds with HTTP 404 (Not Found)
for inaccessible resources. See `bug 1901210
<https://launchpad.net/bugs/1901210>`_ for further information.