cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-2495) Object_Store_Refactor - Templates - Templates that are marked as Public are not visible to other users.
Date Fri, 12 Jul 2013 19:15:48 GMT

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

Sangeetha Hariharan closed CLOUDSTACK-2495.
-------------------------------------------


Tested with latest build from 4.2:

Templates that are marked as "public' ( not "featured") , are listed in the "community" list.

Templates that are marked as "public' and "featured" , will be listed in the "featured" list.
These templates will not show up in the "community" list.






                
> 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

Mime
View raw message