You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/12/04 12:06:58 UTC

[GitHub] rhtyd commented on issue #3059: Public template is not visible

rhtyd commented on issue #3059: Public template is not visible
URL: https://github.com/apache/cloudstack/issues/3059#issuecomment-444077687
 
 
   @izenk a public template in a project will be restricted to that project only. If you want to share the template to another project or account, you need to manually grant permissions using the following API:
   ```
   update templatepermissions
   updateTemplatePermissions: Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A priviledged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.
   Required params: id, 
   API Params               Type     Description
   ==========               ====     ===========
   accounts                 list     a comma delimited list of accounts. If sp
                                     ecified, "op" parameter has to be passed
                                      in.
   id                       uuid     the template ID
   isextractable            boolean  true if the template/iso is extractable, 
                                     false other wise. Can be set only by roo
                                     t admin
   isfeatured               boolean  true for featured template/iso, false oth
                                     erwise
   ispublic                 boolean  true for public template/iso, false for p
                                     rivate templates/isos
   op                       string   permission operator (add, remove, reset)
   projectids               list     a comma delimited list of projects. If sp
                                     ecified, "op" parameter has to be passed
                                      in.
   
   ```
   Perhaps we can add a UI button for the above API.
   What you've reported is not a bug, please close the ticket. Thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services