Global setting to disallow domain admin to change domain and account settings
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 6 天 19 小時
- 30 天內合併 PR
- 32
描述
##### 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.
~~~
貢獻指南
研究方向
首先追蹤網域設定的 UI、權限和存取控制流程,重點關注列出的設定以及 root-admin/domain-admin 的步驟。確定預期的全域覆寫行為,然後驗證 root-admin 的設定不能被 domain admins 覆寫。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- authorization, security
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100