adoroszlai commented on code in PR #9319:
URL: https://github.com/apache/ozone/pull/9319#discussion_r2582129955
##########
hadoop-hdds/common/src/main/resources/ozone-default.xml:
##########
@@ -650,6 +650,20 @@
ozone.om.https-bind-host.service1.om1
</description>
</property>
+ <property>
+ <name>ozone.om.volume.listall.allowed</name>
+ <value>true</value>
+ <tag>OM, MANAGEMENT</tag>
+ <description>
+ Allows everyone to list all volumes when set to true. Defaults to true.
+ When set to false, non-admin users can only list the volumes they have
+ access to. Admins can always list all volumes. Note that this config
+ only applies to OzoneNativeAuthorizer. For other authorizers, admin
+ needs to set policies accordingly to allow all volume listing
+ e.g. for Ranger, a new policy with special volume "/" can be added to
+ allow group public LIST access.
+ </description>
+ </property>
Review Comment:
This would fix a test failure in `TestOzoneConfigurationFields`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]