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 摘要。