apache / apache/cloudstack

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

オープン
#7,296 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
archive status:stale type:config
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。