apache / apache/cloudstack

Global setting to disallow domain admin to change domain and account settings

Ouverte
#7,296 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
archive status:stale type:config
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, Permissions, Access Controll
~~~

##### CLOUDSTACK VERSION

~~~
4.17 onwards
~~~

##### SUMMARY

The https://github.com/apache/cloudstack/pull/4339 pull request allows CloudStack's domain admins to change their domains configurations. This option gives domain admins power to abuse CloudStack system IPs, create public templates, share their templates with other domains, and many more unwanted effects to the environments even though the root admin disallow these actions in the first place.

| Domain level settings |
|:------------------------------------------:|
| account.allow.expose.host.hostname |
| allow.public.user.templates |
| preferred.storage.pool |
|share.public.templates.with.other.domains |
| use.system.public.ips |

As of now there isn't a global setting to revert this changes. I have the following suggestions let me know what do you think.

1. Add a global setting to override this behaviour.
2. Move these setting to global level so domain admins can't change them.
3. Give priority to the global level settings, so if domain admins override a setting.

##### STEPS TO REPRODUCE

~~~
1. Login as a root admin
2. Configure the domain
3. Log out
4. Login as a domain admin
5. Configure the domain
~~~

##### EXPECTED RESULTS

~~~
Root admin configurations are **NOT** overridden.
~~~

##### ACTUAL RESULTS

~~~
Root admin configurations are overridden.
~~~

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par retracer le flux de l’UI, des permissions et du contrôle d’accès pour la configuration du domaine, en vous concentrant sur les paramètres indiqués et sur les étapes de root-admin/domain-admin. Déterminez quel comportement de surcharge globale est attendu, puis vérifiez que les configurations de root-admin ne peuvent pas être remplacées par les administrateurs de domaine.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
authorization, security
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

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