Skip to content

tentacle: rgw: ListRoles returns "Access Denied" for a regular user with valid allow policy - #68028

Merged
batrick merged 1 commit into
ceph:tentaclefrom
Dev-Avin:wip-74399-tentacle-backport
Jul 14, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
Dev-Avin:wip-74399-tentacle-backport

Conversation

@Dev-Avin

@Dev-Avin Dev-Avin commented Mar 26, 2026 •

Copy link
Copy Markdown

This is a backport of the fix for RGW ListRoles permission issues.
The ListRoles method didn't initialise the arn resource, which caused an implicit deny for regular users even with a valid allow policy.

Cherry-picked from commit: 6594f6c

Checklist

@Dev-Avin
Dev-Avin requested a review from a team as a code owner March 26, 2026 13:55
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

13 similar comments
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run.

@github-actions github-actions Bot added the rgw label Mar 26, 2026
@github-actions github-actions Bot added this to the tentacle milestone Mar 26, 2026
@cbodley cbodley changed the title tentacle] rgw: ListRoles returns "Access Denied" for a regular user with valid allow policy tentacle: rgw: ListRoles returns "Access Denied" for a regular user with valid allow policy Mar 26, 2026
…allow policy

The ListRoles method doesn't initialise the arn resource, so a user that is allowed to call this method only via policies gets "Access Denied"

Signed-off-by: Theofilos Mouratidis <[email protected]>
(cherry picked from commit 6594f6c)
@Dev-Avin
Dev-Avin force-pushed the wip-74399-tentacle-backport branch from a48bc79 to 64380b3 Compare March 26, 2026 14:52
@Dev-Avin

Copy link
Copy Markdown
Author

Hi @cbodley,

All checks seem to be passing on this PR, and the remaining workflows are awaiting maintainer approval.
Could you please confirm if anything is needed from my side, or if this is ready to proceed to the next stage?

Thanks!

@anrao19 anrao19 added the wip-anrao6-testing wip-anrao6-testing label Mar 30, 2026
@Dev-Avin

Dev-Avin commented Apr 8, 2026 •

Copy link
Copy Markdown
Author

@cbodley @anrao19
Checking up for the 2 pending checks
and a follow up for the qa labal
Do i need to update something ?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@cbodley

cbodley commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

@Dev-Avin sorry if the backport process is somewhat opaque. nothing is currently needed on your end

i added the needs-qa label so that it gets picked up for testing. the wip-anrao6-testing label means it has been added to a test batch, so we'll expect to have qa results to review before long. an rgw developer will review those test results and determine whether or not qa was successful. on success, the pr will be merged

@Dev-Avin

Dev-Avin commented Apr 8, 2026

Copy link
Copy Markdown
Author

@cbodley
Thanks for the clarification, that helps a lot!
I'll wait for the QA results then 👍

@anrao19

anrao19 commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress...
Tracker created for same is : https://tracker.ceph.com/issues/75781

@Dev-Avin

Dev-Avin commented Apr 9, 2026

Copy link
Copy Markdown
Author

Thanks @anrao19
For the update

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label May 2, 2026
@anrao19

anrao19 commented May 27, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress... Tracker created for same is : https://tracker.ceph.com/issues/75781

pr testing completed and approved by @ivancich , More details in : https://tracker.ceph.com/issues/75781.
@Dev-Avin , if no further testing is needed then this pr can be merged

@anrao19 anrao19 added TESTED ready-to-merge and removed wip-anrao6-testing wip-anrao6-testing labels May 27, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 11, 2026
@batrick batrick removed the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 12, 2026
@batrick batrick changed the title tentacle: rgw: ListRoles returns "Access Denied" for a regular user with valid allow policy tentacle: rgw: ListRoles returns "Access Denied" for a regular user with valid allow policy Jul 14, 2026
@batrick
batrick merged commit 55bd8af into ceph:tentacle Jul 14, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa ready-to-merge releng-audit-pass Release engineering: passed backport verification audit. rgw TESTED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants