apache / apache/cloudstack

Unable to assign ISO permissions to Account in sub-Domain

Ouverte
#9,482 1 commentaire 0 réactions 2 personnes assignées Réclamée par @vladimirpetrov Voir sur GitHub
type:improvement
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
32

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.