apache / apache/cloudstack

Unable to assign ISO permissions to Account in sub-Domain

Đang mở
#9,482 1 bình luận 0 reaction 2 người được giao Được @vladimirpetrov nhận Xem trên GitHub
type:improvement
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

##### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.