[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985284#comment-13985284
 ] 

ASF subversion and git services commented on CLOUDSTACK-6532:
-------------------------------------------------------------

Commit 4f9b298817386d9eff8677e3c168f1dfdc7f6aeb in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4f9b298 ]

CLOUDSTACK-6532:Affinity Groups - As admin user, not able to list all
affinity groups available for regular users by passing account and
domainId paramater. This is to revert IAM way of implementing
listAffinityGroupsCmd, will bring it back when we have implemented real
impersonation.


> Affinity Groups - As admin user, not able to list all affinity groups 
> available for regular users by passing account and domainId paramater.
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6532
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6532
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: IAM
>    Affects Versions: 4.4.0
>         Environment: Build from 4.4
>            Reporter: Sangeetha Hariharan
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> Create an anti-affinity group as regular user.
> As admin user, try to list all affinity groups available for regular users by 
> passing account and domainId parameter.
> http://10.223.49.6:8080/client/api?command=listAffinityGroups&response=json&sessionkey=okCw58hoD%2BrUSZ9NO5LKHz6ie9U%3D&_=1398792364257&account=testD1A-TestVMList-U27DEV&domainId=71dcc0ac-c230-4e96-97ad-6e4f3ddc53cf
> No affinity group is listed.
> As regular user:
> { "listaffinitygroupsresponse" : { "count":1 ,"affinitygroup" : [  
> {"id":"bee9a7c5-3124-46b6-b258-893c8c9cc244","name":"test-123","description":"test-123","account":"testD1A-TestVMList-U27DEV","domainid":"71dcc0ac-c230-4e96-97ad-6e4f3ddc53cf","domain":"D1-19BDAN","type":"host
>  anti-affinity"} ] } }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to