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

Prachi Damle reassigned CLOUDSTACK-2352:
----------------------------------------

    Assignee: Prachi Damle
    
> Anti-Affinity - As admin user , not able to list affinity group created by 
> other users by passins id parameter to listaffinitygroups command. .
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2352
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2352
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          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 , not able to list affinity group created by 
> other users by passing id parameter to listaffinitygroups command.
> Steps to reproduce the problem:
> 1.As regular user : create affinity group g1,sg2. Deploy a Vm – vm1 in g1.
> 2.As admin:
> List this Vm. go to "View Affinity Group" , when affinity group is listed , 
> launch the detail view of this Affinity group.
> UI hangs because the API call made from the UI, returns empty list.
> GET 
> command=listAffinityGroups&response=json&sessionkey=aGda%2FUIRf%2BIz0Ayz%2BVtquMVyx5w%3D&id=8ba39582-5004-4e77-a872-a5a4788c1371&_=1367888349988
>  200 { "listaffinitygroupsresponse" : { } }
> mysql> select * from affinity_group where 
> uuid="8ba39582-5004-4e77-a872-a5a4788c1371";
> +----+------------+--------------------+--------------------------------------+-------------+-----------+------------+
> | id | name       | type               | uuid                                 
> | description | domain_id | account_id |
> +----+------------+--------------------+--------------------------------------+-------------+-----------+------------+
> | 12 | testsangee | host anti-affinity | 8ba39582-5004-4e77-a872-a5a4788c1371 
> | testsangee  |         1 |          4 |
> +----+------------+--------------------+--------------------------------------+-------------+-----------+------------+
> 1 row in set (0.00 sec)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to