apache / apache/cloudstack

Unable to assign ISO permissions to Account in sub-Domain

未关闭
#9,482 1 条评论 0 个 reaction 已指派 2 人 已被 @vladimirpetrov 认领 在 GitHub 查看
type:improvement
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~
UI, ISOs/Templates
~~~

##### CLOUDSTACK VERSION

~~~
4.19.0.2
~~~

##### CONFIGURATION

N/A

##### OS / ENVIRONMENT

N/A

##### SUMMARY

When attempting to share access of an ISO or template to an account in a sub-domain, an error is raised about "Unable to grant a launch permission to account ', account not found."

This creates two problems:
1. There is no way to effectively share an ISO or template from a parent domain to a sub-domain, which can lead to duplicate ISOs or templates required for each sub-domain. Sharing the templates or ISOs publicly is not desired in a multi-tenant cloud service provider environment.
2. Setting `share.public.templates.with.other.domains` to false permits a parent domain to create a public template only visible to that domain. The account in the parent domain can then assign an instance created with said template or ISO to an account in a sub-domain. The issue is, the template or ISO is not visible for provisioning new instances within the account of the sub-domain.

##### STEPS TO REPRODUCE

~~~
1. Have a domain with at least one sub-domain.
2. Have an account created in each of these domains.
3. Create a non-public ISO or template in the parent domain.
4. Select "Update Template Permissions" from the template window.
5. Select "Share With: Account".
6. Select the account in the sub-Domain.
~~~

##### EXPECTED RESULTS

~~~
The account in the sub-domain is able to access the ISO or template.
~~~

##### ACTUAL RESULTS

~~~
Error below is recevied.
~~~
Screenshot 2024-08-02 at 12 41 31 PM

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。