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 7DC5E10B70 for ; Fri, 7 Jun 2013 23:32:20 +0000 (UTC) Received: (qmail 34589 invoked by uid 500); 7 Jun 2013 23:32:20 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 34575 invoked by uid 500); 7 Jun 2013 23:32:20 -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 34567 invoked by uid 500); 7 Jun 2013 23:32:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 34564 invoked by uid 99); 7 Jun 2013 23:32:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 23:32:20 +0000 Date: Fri, 7 Jun 2013 23:32:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-2350) Anti-Affinity - As admin user, when tryinto update the affinity group for a Vm that is deployed by a regular user , he is presented with admin's affinity groups. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-2350?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13678574#comment-13678574 ]=20 ASF subversion and git services commented on CLOUDSTACK-2350: ------------------------------------------------------------- Commit 8c9f681f9eba377d1eee279329090fbbdc46c5ab in branch refs/heads/master= from [~prachidamle] [ https://git-wip-us.apache.org/repos/asf?p=3Dcloudstack.git;h=3D8c9f681 ] CLOUDSTACK-2350: Anti-Affinity - As admin user, when tryinto update the aff= inity group for a Vm that is deployed by a regular user , he is presented w= ith admin's affinity groups. Changes: - listAffinityGroups API takes in accountname and domainId parameter - For admin, listall=3Dtrue should return all affinity groups of all users =20 > Anti-Affinity - As admin user, when tryinto update the affinity group for= a Vm that is deployed by a regular user , he is presented with admin's aff= inity groups.=20 > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------- > > Key: CLOUDSTACK-2350 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-235= 0 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.2.0 > Environment: Build from master > Reporter: Sangeetha Hariharan > Assignee: Prachi Damle > Fix For: 4.2.0 > > > Anti-Affinity - As admin user, when tryinto update the affinity group for= a Vm that is deployed by a regular user , he is presented with admin's aff= inity groups. > Steps to reproduce the problem: > 1.As regular user : create affinity group g1,sg2. Deploy a Vm =E2=80=93 v= m1 in g1. > 2.As admin: create affinity group a1,a2. > 3.Stop vm1. > 4. Try to update vm1=E2=80=99s affinity group. List of affinity group sho= wn here is =E2=80=9Ca1,a2=E2=80=9D. > Expected Behavior: > List of affinity group should include the affinity groups that belongs to= the Vm's owner account. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira