[
https://issues.apache.org/jira/browse/CLOUDSTACK-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251989#comment-14251989
]
ASF subversion and git services commented on CLOUDSTACK-8093:
-------------------------------------------------------------
Commit d304409c98c87e9fb8a4e712cd7f9110c91bd1fa in cloudstack's branch
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d304409 ]
CLOUDSTACK-8093:Not able to list shared templates by passing id.
> Not able to list shared templates by passing id.
> ------------------------------------------------
>
> Key: CLOUDSTACK-8093
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8093
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: IAM
> Affects Versions: 4.4.0
> Reporter: Min Chen
> Assignee: Min Chen
> Priority: Critical
> Fix For: 4.5.0
>
>
> Steps to reproduce the problem:
> Create user test and testa under ROOT domain.
> Register a private template T1 as user "test".
> Update Template permission to ass user "testa" for this template - T1.
> As testa , list the details of this template by passing its Id:
> This action is not permitted:
> http://<localhost>:8080/client/api?command=listTemplates&response=json&sessionkey=qVqJ8mbFV8EsjE9vKoCydIaP0BM%3D&templatefilter=self&id=cb0dd33f-3a0d-49fb-bf1f-0b6c15ad1455&_=1418851061799
> { "listtemplatesresponse" :
> {"uuidList":[],"errorcode":531,"cserrorcode":4365,"errortext":"Acct[bdee8701-0495-4140-8823-25d56723082d-test-b]
> does not have permission to operate with resource
> Acct[cc0f203d-4018-470e-85f8-44105a7d182e-test-a]"}
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)