[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565878#comment-14565878
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8483:
--------------------------------------------

GitHub user sudhansu7 opened a pull request:

    https://github.com/apache/cloudstack/pull/334

    BUG-ID: CLOUDSTACK-8483 -  Private template not visible in project

    added new 'projectId' parameter in createTemplate command and based current 
user, account and projectid decide the owner of the template.
    
    Problem: Template created using createTemplte API within project context is 
not visible in project view.
    Root Cause: CeateTemplate API does not have projectId parameter and hence 
it creates the template against the caller's account id. 
    Solution: A new parameter 'projectId' has been added to createTemplate 
command and the ownership is decided based on current user account and 
projectid.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sudhansu7/cloudstack CLOUDSTACK-8483

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/334.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #334
    
----
commit a5c256d752b19fe3eb58b448486f95bd1d2fc6bb
Author: Sudhansu <[email protected]>
Date:   2015-03-13T12:18:47Z

    BUG-ID: CLOUDSTACK-8483 -  Private template not visible in project
    added new 'projectId' parameter in createTemplate command and based current 
user, account and projectid decide the owner of the template.

----


> Private template not visible in project
> ---------------------------------------
>
>                 Key: CLOUDSTACK-8483
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8483
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Projects
>    Affects Versions: 4.5.0
>            Reporter: Sudhansu Sahu
>            Assignee: Sudhansu Sahu
>
> Private template get created outside the project context. These templates are 
> not visible in project view.
> STEPS TO REPRODUCE:
> 1 Select a project view, and go into volumes view
> 2 Create a template from a Volume and wait until the process is complete
> 3 The template cannot be found in the project
> 4 Navigate back to the "Default view" The template can be found in the 
> templates screen in this view



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to