apache / apache/cloudstack

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

Abierto
#7,296 2 comentarios 0 reacciones 0 asignados Ver en GitHub
archive status:stale type:config
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza siguiendo el flujo de UI, permisos y control de acceso para la configuración del dominio, centrándote en los ajustes indicados y en los pasos de root-admin/domain-admin. Determina qué comportamiento de sobrescritura global se pretende y, a continuación, verifica que las configuraciones de root-admin no puedan ser sobrescritas por los administradores de dominio.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
authorization, security
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.