Global setting to disallow domain admin to change domain and account settings
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.4k
- Merge trung bình
- 6 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 32
Mô tả
##### 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.
~~~
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách lần theo luồng UI, quyền và kiểm soát truy cập đối với cấu hình domain, tập trung vào các cài đặt được liệt kê và các bước của root-admin/domain-admin. Xác định hành vi ghi đè toàn cục nào là dự kiến, sau đó xác minh rằng các cấu hình của root-admin không thể bị domain admins ghi đè.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- authorization, security
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100