Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document RBAC preference in S3 access #10707

Open
donsizemore opened this issue Jul 20, 2024 · 0 comments · May be fixed by #11111
Open

document RBAC preference in S3 access #10707

donsizemore opened this issue Jul 20, 2024 · 0 comments · May be fixed by #11111

Comments

@donsizemore
Copy link
Contributor

v5.14 introduced RBAC access, which introduced unanticipated S3 credential preference, which @qqmyers addressed here: https://github.com/IQSS/dataverse/blob/develop/src/main/java/edu/harvard/iq/dataverse/dataaccess/S3AccessIO.java#L1197

If I understand correctly, if a role is assigned to an EC2 instance powering Dataverse but doesn't contain a policy granting access to an S3 bucket, RBAC is still preferred over some other methods and Dataverse will receive 403 Forbidden responses from S3 despite the local configuration appearing to be correct in domain.xml.

Jim proposed a feature flag to cause Dataverse to ignore RBAC for S3 access, which may aid administrators who want or need to configure S3 access outside of RBAC.

donsizemore added a commit to uncch-rdmc/dataverse that referenced this issue Dec 19, 2024
@donsizemore donsizemore linked a pull request Dec 19, 2024 that will close this issue
donsizemore added a commit to uncch-rdmc/dataverse that referenced this issue Dec 20, 2024
donsizemore added a commit to uncch-rdmc/dataverse that referenced this issue Dec 20, 2024
donsizemore added a commit to uncch-rdmc/dataverse that referenced this issue Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant