You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2022/11/18 20:50:00 UTC
[jira] [Resolved] (HDDS-7498) Add permission check when `--user` is specified in `ozone sh volume list`
[ https://issues.apache.org/jira/browse/HDDS-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siyao Meng resolved HDDS-7498.
------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> Add permission check when `--user` is specified in `ozone sh volume list`
> -------------------------------------------------------------------------
>
> Key: HDDS-7498
> URL: https://issues.apache.org/jira/browse/HDDS-7498
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> Unauthorized user can use --user tag for different user(possibly super user) and list all volumes. But cannot go into a bucket.I ran this command to list volumes visible to another user(user1).
> {noformat}
> ozone sh volume list --user=user1 o3://ozone1/
> {
> "metadata" : { },
> "name" : "archvol",
> "admin" : "admin@OZONE.CORP",
> "owner" : "ne1o",
> "quotaInBytes" : 107374182400,
> "quotaInNamespace" : -1,
> "usedNamespace" : 1,
> "creationTime" : "2022-09-12T01:10:36.944Z",
> "modificationTime" : "2022-09-12T01:10:36.944Z",
> "acls" : [ {
> "type" : "USER",
> "name" : "ne1o",
> "aclScope" : "ACCESS",
> "aclList" : [ "ALL" ]
> }, {
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org