Global setting to disallow domain admin to change domain and account settings
- Vorherrschende Sprache
- Java
- Sterne
- 3.1k
- Forks
- 1.4k
- Ø Merge
- 6 T. 19 Std.
- Gemergte PRs (30 T.)
- 32
Beschreibung
##### 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.
~~~
Beitragsleitfaden
Rechercherichtung
Beginne damit, den UI-, Berechtigungs- und Zugriffskontrollfluss für die Domänenkonfiguration nachzuverfolgen, wobei der Schwerpunkt auf den aufgeführten Einstellungen sowie den Schritten für root-admin/domain-admin liegt. Kläre, welches Verhalten der globalen Überschreibung vorgesehen ist, und überprüfe anschließend, dass Konfigurationen von root-admin nicht von domain admins überschrieben werden können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- authorization, security
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100