You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Global setting to disallow domain admin to change domain and account settings #7296
The #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.
Add a global setting to override this behaviour.
Move these setting to global level so domain admins can't change them.
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
@soreana these all done by updateConfiguration. I think this calls for a more fine grained access control system for settings. I do not think either of you proposals are going to satisfy all use-cases.
just €0,02
@soreana these all done by updateConfiguration. I think this calls for a more fine grained access control system for settings. I do not think either of you proposals are going to satisfy all use-cases.
just €0,02
@DaanHoogland I'm totally agree with your proposal. Your proposed feature could be implemented in 4.19. What I proposed could be a small feature in 4.18.1.
Activity
DaanHoogland commentedon Feb 28, 2023
@soreana these all done by updateConfiguration. I think this calls for a more fine grained access control system for settings. I do not think either of you proposals are going to satisfy all use-cases.
just €0,02
soreana commentedon Feb 28, 2023
@DaanHoogland I'm totally agree with your proposal. Your proposed feature could be implemented in 4.19. What I proposed could be a small feature in 4.18.1.