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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---