You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Min Chen (JIRA)" <ji...@apache.org> on 2013/05/15 06:55:15 UTC
[jira] [Resolved] (CLOUDSTACK-2495) Object_Store_Refactor -
Templates - Templates that are marked as Public are not visible to other
users.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Min Chen resolved CLOUDSTACK-2495.
----------------------------------
Resolution: Fixed
Fixed with commit c6a5a7ee006891b425d1ef3d7be187754930e094
> Object_Store_Refactor - Templates - Templates that are marked as Public are not visible to other users.
> -------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2495
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2495
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server
> Affects Versions: 4.2.0
> Environment: Build from object_store
> Reporter: Sangeetha Hariharan
> Assignee: Min Chen
> Fix For: 4.2.0
>
>
> Object_Store_Refactor - Templates - Templates that are marked as Public are not visible to other users.
> Steps to reproduce the problem:
> Scenario 1 :
> As admin , create a template isPublic() set to true .
> As regular user , try list Templates with filter set as "community".
> We do not see the template being listed.
> http://10.223.57.194:8080/client/api?command=listTemplates&response=json&sessionkey=ZjI8cLyxkL5UTHNkjTLIBp0pNy8%3D&listAll=true&page=1&pagesize=20&templatefilter=community&_=1368574031950
> { "listtemplatesresponse" : { } }
> mysql> select name,public,featured,extractable from vm_template where id=206;
> +---------+--------+----------+-------------+
> | name | public | featured | extractable |
> +---------+--------+----------+-------------+
> | test123 | 1 | 0 | 0 |
> +---------+--------+----------+-------------+
> 1 row in set (0.00 sec)
> Scenario 2 :
> As admin , create a template isPublic() set to true and isFeatured() to true.
> As regular user , try list Templates with filter set as "featured".
> We do not see the template being listed.
--
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