Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DD2A961B for ; Wed, 15 May 2013 00:24:14 +0000 (UTC) Received: (qmail 43780 invoked by uid 500); 15 May 2013 00:24:14 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 43758 invoked by uid 500); 15 May 2013 00:24:14 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 43663 invoked by uid 500); 15 May 2013 00:24:14 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 43451 invoked by uid 99); 15 May 2013 00:24:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 00:24:13 +0000 Date: Wed, 15 May 2013 00:24:13 +0000 (UTC) From: "Sangeetha Hariharan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-2495) Object_Store_Refactor - Templates - Templates that are marked as Public are not visible to other users. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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