Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0718110FFD for ; Wed, 8 Jan 2014 13:34:40 +0000 (UTC) Received: (qmail 37253 invoked by uid 500); 8 Jan 2014 13:33:58 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 37193 invoked by uid 500); 8 Jan 2014 13:33:56 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 36631 invoked by uid 500); 8 Jan 2014 13:33:55 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 36542 invoked by uid 99); 8 Jan 2014 13:33:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 13:33:51 +0000 Date: Wed, 8 Jan 2014 13:33:51 +0000 (UTC) From: "Wei Zhou (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-5816) Rootadmin user using listNetworks command then list all of networks not the networks that belong to the caller MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865414#comment-13865414 ] Wei Zhou commented on CLOUDSTACK-5816: -------------------------------------- It listAll is set to false, root admin/domain admin will list the resources in the domain (not only their own, but also other accounts' resources) if listAll is set to true, root admin/domain admin will list the resources in the domain and sub-domains. If you want to list the resources of specified account, please specify the domainid and account. Then it will list the resources belong to the account. > Rootadmin user using listNetworks command then list all of networks not the networks that belong to the caller > ------------------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-5816 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5816 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: DevCloud > Affects Versions: 4.2.0 > Reporter: guiguan > Labels: Network, listnetworks > > listnetworks shoud list the networks belongs to the caller by default. But it lists all of the listnetworks when using rootadmin user. > And although set the "listall=false" then still list all of the networks. > It can't list the networks just belong to the rootadmin user. > http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/listNetworks.html -- This message was sent by Atlassian JIRA (v6.1.5#6160)