Bug 2069131 - [GSS] Access Denied while listing the bucket using bucket with user user-preferences
Summary: [GSS] Access Denied while listing the bucket using bucket with user user-pref...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nimrod Becker
QA Contact: Ben Eli
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-28 10:53 UTC by Priya Pandey
Modified: 2023-08-09 16:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-08 06:02:56 UTC
Embargoed:


Attachments (Terms of Use)
access_denied (98.99 KB, image/png)
2022-03-28 10:53 UTC, Priya Pandey
no flags Details

Description Priya Pandey 2022-03-28 10:53:04 UTC
Created attachment 1868685 [details]
access_denied

Created attachment 1868685 [details]
access_denied

Description of problem (please be detailed as possible and provide log
snippets):


- Cu has created a user named  "user-preferences".

- After that, they've created a bucket named as "user-preferences" bucket

- The user "user-preferences" was given permission to the "user-preferences" bucket that gives access denied.

(Attached screenshot [access_denied] )

- Cu has removed the permission from the user and added it back it worked fine.


- Cu wants to understand the RCA for the issue.


Version of all relevant components (if applicable):

v4.8


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

- Cu has applied the workaround and it's working fine but we want to understand the RCA for this issue.



Is there any workaround available to the best of your knowledge?


- Remove and add the bucket permission to the user.


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?

3

Can this issue reproducible?

In cu environment

Can this issue reproduce from the UI?

N/A

If this is a regression, please provide more details to justify this:

N/A

Steps to Reproduce:
1. Create a user "user-preferences"
2. Create a bucket "user-preferences".
3. Add the bucket permission to this user.


Actual results:

The bucket can't be accessed with the created user.

Expected results:

The bucket should be accessible to the user that holds the permission.

Additional info:

In the next comments


Note You need to log in before you can comment on or make changes to this bug.