You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2014/04/29 19:38:16 UTC
[jira] [Created] (CLOUDSTACK-6532) Affinity Groups - As admin user,
not able to list all affinity groups available for regular users by passing
account and domainId paramater.
Sangeetha Hariharan created CLOUDSTACK-6532:
-----------------------------------------------
Summary: 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
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)