cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Mehta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-3306) Projects - Templates owned by projects that are marked as "Public" are not listed in the "community" list for other users.
Date Wed, 03 Jul 2013 08:28:24 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nitin Mehta resolved CLOUDSTACK-3306.
-------------------------------------

    Resolution: Fixed
    
> Projects - Templates owned by projects that are marked as "Public" are not listed in
the "community" list for other users.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3306
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3306
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>         Environment: master-6-17-stable
>            Reporter: Nitin Mehta
>            Assignee: Nitin Mehta
>             Fix For: 4.2.0
>
>
> Projects - Templates owned by projects that are marked as "Public" are not listed in
the "community" list for other users. 
> 1. Create a project and add couple of accounts to this project. 
> 2. As any user of this project , click on "Project View" and select this project. 
> 3. Create a template which is marked as "Public". 
> Template that was created in project - "project-new" with Public option. 
> { "listtemplatesresponse" : { "count":1 ,"template" : [ {"id":"83d15d1c-f3c6-44ea-ad97-f58398f4451c","name":"temp-proj1","displaytext":"temp-proj1","ispublic":true,"created":"2013-06-03T12:55:20-0700","isready":true,"passwordenabled":false,"format":"VHD","isfeatured":false,"crossZones":false,"ostypeid":"11","ostypename":"CentOS
5.3 (32-bit)","zoneid":"b383a50f-e760-415d-8eaf-dd07ce75866c","zonename":"zone1","size":21474836480,"templatetype":"USER","hypervisor":"XenServer","domain":"ROOT","domainid":"1","isextractable":false,"checksum":"204e8440d7971a4c38536778fab13a41","projectid":"349c9a83-7857-4b59-89d4-fff8152bb466","project":"project-new","tags":[],"sshkeyenabled":false}
] } } 
> Listing "community" templates from other users , does not include the template that was
created for the project with "Public" flag ON. 
> http://10.223.131.170:8080/client/api?command=listTemplates&response=json&sessionkey=dRCsGYhxPSuJTdZt7lkSuxALr3w%3D&listAll=true&page=1&pagesize=20&templatefilter=community&_=1370307472847

> { "listtemplatesresponse" : { "count":1 ,"template" : [ {"id":"83d15d1c-f3c6-44ea-ad97-f58398f4451c","name":"temp-proj1","displaytext":"temp-proj1","ispublic":true,"created":"2013-06-03T12:55:20-0700","isready":true,"passwordenabled":false,"format":"VHD","isfeatured":false,"crossZones":false,"ostypeid":"11","ostypename":"CentOS
5.3 (32-bit)","zoneid":"b383a50f-e760-415d-8eaf-dd07ce75866c","zonename":"zone1","size":21474836480,"templatetype":"USER","hypervisor":"XenServer","domain":"ROOT","domainid":"1","isextractable":false,"checksum":"204e8440d7971a4c38536778fab13a41","projectid":"349c9a83-7857-4b59-89d4-fff8152bb466","project":"project-new","tags":[],"sshkeyenabled":false}
] } } 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message