[
https://issues.apache.org/jira/browse/CLOUDSTACK-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729715#comment-13729715
]
ASF subversion and git services commented on CLOUDSTACK-4087:
-------------------------------------------------------------
Commit a5c2d24ee2290bd3f4f3d8ba720bd095955cdaa0 in branch refs/heads/master
from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a5c2d24 ]
CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template
owner, not from the operation caller
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
> cannot update template permissions of a project in non-root domain as root
> admin
> --------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4087
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4087
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.1.0, 4.2.0
> Reporter: Prasanna Santhanam
> Assignee: Alena Prokharchyk
> Priority: Critical
> Fix For: 4.2.0
>
> Attachments: updatetemplatepermissions.log
>
>
> Steps to reproduce:
> 1. Create a project under non-root domain ROOT/DOM
> 2. Create a VM in the project, convert it to a template
> 3. As root admin, try to update the template permissions to make the template
> private
> updateTemplatePermissions fails with:
> Unable to grant a launch permission to account PrjAcct-Project-P32QXV-6,
> account not found. No permissions updated, please verify the account names
> and retry.
> Management server logs are attached
--
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