Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2196006

Summary: [manila][rbac] Incorrect response code when reader user tries to set/delete a share metadata
Product: Red Hat OpenStack Reporter: lkuchlan <lkuchlan>
Component: openstack-manilaAssignee: OpenStack Manila Bugzilla Bot <openstack-manila-bugs>
Status: CLOSED NEXTRELEASE QA Contact: vhariria
Severity: low Docs Contact:
Priority: low    
Version: 17.1 (Wallaby)CC: ashrodri
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-11 16:37:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lkuchlan 2023-05-07 12:56:55 UTC
Description of problem:
When user with reader credentials tries to set or delete a share metadata 
that was created in another project, 404 error is raised instead of 403.

Version-Release number of selected component (if applicable):
openstack-manila-12.1.3-1.20230224120957.1274f07.el9ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Try to delete/set a share metadata by user with reader credentials.

Actual results:
NotFound(404)

Expected results:
Forbidden(403)

Comment 1 Ashley R 2024-12-11 16:37:24 UTC
openstack-manila-16.2.1-18.0.20240620220446.18b6562.el9osttrunk