smengcl opened a new pull request #1614:
URL: https://github.com/apache/ozone/pull/1614


   https://issues.apache.org/jira/browse/HDDS-4502
   
   Currently `listStatusRoot()` only lists volumes owned(ACL disabled) or 
accessible(ACL enabled) by current user.
   
   This prevents HttpFS from listing all volumes under OFS root.
   
   Since we probably can't provide an argument to allow passing in parameter 
`--all` due to conforming to HCFS, we should default to list ALL volumes 
whenever this is possible.
   
   Note: `ozone.om.volume.listall.allowed` is an OM side argument that controls 
whether any user can list all volumes on an Ozone cluster, it defaults to 
`true`.
   
   ## TBD
   
   - [ ] Check how OFS list root would behave when OM has 
`ozone.om.volume.listall.allowed` = `false` when ACL is enabled.
   
   ## Testing
   
   Pending CI. May need to add new UT to check whether the change breaks any 
existing UTs.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to