[
https://issues.apache.org/jira/browse/CLOUDSTACK-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985023#comment-13985023
]
ASF subversion and git services commented on CLOUDSTACK-6532:
-------------------------------------------------------------
Commit 0767060b1f4cf96db721bd625971345fbda4c48c in cloudstack's branch
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0767060 ]
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)