Open Closed

Host Settings Apply to all tenants #2276


User avatar
0
bolenton@gmail.com created

By default, all Tenants can control their own settings (Emailing, Identity management, Theme, Account). I don't want each tenant to be able to control those settings independently but rather I want these things to be universal across the app and only the host can change it for everyone. For example: if the host changes the Theme, all tenants should have this theme. In the future, I will add settings that can be controlled by tenants, but the default ones should be controlled only by the host.

What is the best way to implement this design?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can change theProviders of the setting definition, such as using only DefaultValueSettingValueProvider, ConfigurationSettingValueProvider, GlobalSettingValueProvider

    https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/GlobalSettingValueProvider.cs#L9

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.