Skip to content

Conversation

@dombizita
Copy link
Contributor

@dombizita dombizita commented Sep 21, 2022

What changes were proposed in this pull request?

Previously the list all volume operation only went through the ACL check if the list all volume was disabled. Because of this the audit logging wasn't triggered. I removed the if condition checking the ozone.om.volume.listall.allowed's value, so the ACL check gets triggered in every case (if the ACL is enabled). I also updated the ozone.om.volume.listall.allowed's description in ozone-default.xml.

OzoneNativeAuthorizer wouldn't be affected by this change, because of this change, the allowListAllVolumes is set here on the authorizer side.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-7240

How was this patch tested?

Run related tests.

Change-Id: I48d7d60c84bdf73ac2101c1dd711cad2badfe5b2
Change-Id: I06ef015cf06b7b5382f1df481886e95c74d64abb
Copy link
Contributor

@smengcl smengcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 pending CI. Thanks @dombizita

@kerneltime
Copy link
Contributor

cc @duongkame

Copy link
Contributor

@duongkame duongkame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks @dombizita for the patch.

@smengcl smengcl merged commit 6c1a5ee into apache:master Sep 22, 2022
@smengcl
Copy link
Contributor

smengcl commented Sep 22, 2022

Thanks @dombizita for the patch. Thanks @duongkame for the review.

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 this pull request may close these issues.

4 participants