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] [Created] (CLOUDSTACK-2495) Object_Store_Refactor - Templates - Templates that are marked as Public are not visible to other users.
Date Wed, 15 May 2013 00:24:13 GMT
Sangeetha Hariharan created CLOUDSTACK-2495:
-----------------------------------------------

             Summary: 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
             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