[ 
https://issues.apache.org/jira/browse/HDDS-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng updated HDDS-3056:
-----------------------------
    Description: 
Current implementation of {{listVolumes}} only returns the volumes the user 
creates.
And there's no existing OM public API to return a list of users or return all 
volumes. Which means we must add new APIs to OM to either return user list or 
all volumes in order for this feature to work.

-We can open another jira on master branch to add those APIs, get back to this 
jira and add this function to OFS.-
After a discussion with [~arpaga], Sanjay suggested we should allow *all* users 
to list *all* volumes for now. (Users still won't be able to access volumes 
which they don't have permission to.)

  was:
Current implementation of `listStatus` only returns the volumes the user 
creates.
And there's no existing OM public API to return a list of users or return all 
volumes. Which means we must add new APIs to OM to either return user list or 
all volumes in order for this feature to work.

-We can open another jira on master branch to add those APIs, get back to this 
jira and add this function to OFS.-
After a discussion with [~arpaga], Sanjay suggested we should allow *all* users 
to list *all* volumes for now. (Users still won't be able to access volumes 
which they don't have permission to.)


> Allow users to list all volumes with listStatus
> -----------------------------------------------
>
>                 Key: HDDS-3056
>                 URL: https://issues.apache.org/jira/browse/HDDS-3056
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Manager
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> Current implementation of {{listVolumes}} only returns the volumes the user 
> creates.
> And there's no existing OM public API to return a list of users or return all 
> volumes. Which means we must add new APIs to OM to either return user list or 
> all volumes in order for this feature to work.
> -We can open another jira on master branch to add those APIs, get back to 
> this jira and add this function to OFS.-
> After a discussion with [~arpaga], Sanjay suggested we should allow *all* 
> users to list *all* volumes for now. (Users still won't be able to access 
> volumes which they don't have permission to.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to