[jira] [Commented] (CLOUDSTACK-8093) Not able to list shared templates by passing id.

2014-12-18 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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=listTemplatesresponse=jsonsessionkey=qVqJ8mbFV8EsjE9vKoCydIaP0BM%3Dtemplatefilter=selfid=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)


[jira] [Commented] (CLOUDSTACK-8093) Not able to list shared templates by passing id.

2014-12-18 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14252033#comment-14252033
 ] 

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

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

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=listTemplatesresponse=jsonsessionkey=qVqJ8mbFV8EsjE9vKoCydIaP0BM%3Dtemplatefilter=selfid=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)


[jira] [Commented] (CLOUDSTACK-8093) Not able to list shared templates by passing id.

2014-12-18 Thread Min Chen (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14252035#comment-14252035
 ] 

Min Chen commented on CLOUDSTACK-8093:
--

Fixed it by properly checking template permission when id is passed

 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=listTemplatesresponse=jsonsessionkey=qVqJ8mbFV8EsjE9vKoCydIaP0BM%3Dtemplatefilter=selfid=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)